Wednesday, February 28, 2007

Tuesday, February 27, 2007

What Blender/Indigo can do :D

[Note: I am not the creator of these pics]






One of my fascinations is Realistic 3D graphics. Most of my free time, I spend playing with 3Ds Max. Now since I -for 5 months now- moved to Linux, there is no 3Ds Max there -or at least I didn't try using it on wine windows emulator.

I've been trying to use the alternative there; Blender 3D modeler. It's interface is really different than 3Ds Max but I like it more. It is more natural there to reach the control you want. Anyway, since my fascination is not about 3D modeling itself, but realistic renders, I searched for alternative to realistic renderers to use with Blender.

With 3Ds Max, there was the bundled scan-line renderer, the radiosity renderer, and the mental-ray renderer. The latter are the most realistic of them all, and the former is the least. While surfing the amazing renders in the CGTalk-3D Choice Gallery forum, I ran into a scene rendered using another renderer; Nextlimit Maxwell renderer.

I was shocked of the degree of reality those renders had. I kept reading about Maxwell renderer until I found it was an unbiased renderer (I can't find a link to define it you right now, settle for that it is based on physics, physics and nothing else, it uses wavelengths instead of colors for instant! It also simulates a real camera, shutter, film, file ISO, and all those analog-photography parameters that I know nothing about). When I tried it out, it really produced some renders that I couldn't believe it was me who rendered them.

While I was searching for something related to Blender, I ran into Indigo. It does the same as Maxwell, it can run on Linux, and it has a script to convert blender files to its own format. Nothing more can encourage me to get to learn and use Blender.

My problem in producing realistic 3D images anyway is that I am no modeler. If I have models, appropriate textures (like 3DTotal Textures collection), the right renderer, (and maybe a great physics simulator) and enough time/PCs I'd produce the most realistic 3D graphics/animations you've ever seen.

Till then, here is a few renders I found on the internet rendered using Indigo. Enjoy the full collection here.

Saturday, February 17, 2007

Beryl 0.2 RC1 + Vista theme :D

Notice the preview when hovering the window title in the taskbar. Also see the motion blur in the second image. The last image there, is a ring-like application switching. See that the taskbar and the gnome-bar are transparent? it is not a Beryl feature if you were wondering, it i s just a transparent PNG file set as the background. I forget to ask , do you like the Vista look ;-) ?



Monday, February 12, 2007

Download all?

If you faced a site with about hundreds files that you want to download you will know what is this about.

I've faced two of them today. A site containing the MDC pictures, and a site containing MP3s for the whole Qur'an by Mashari.

In the page that containing all the links, I could have passed on them link-by-link pressing 'save item as'. Alternatively I did the following.

I right clicked on the page, using Firefox, 'View page info'. In the 'media' tab, I selected all the images and saved the link list to a file called list.txt.

Then I created a new folder and put the file in it. And I wrote the following simple command and pressed enter:
for File in $(cat list.txt) ; do wget $File; done
And I let it download all the links mentioned in the file.

And about the MP3, I went to the 'links' tab and likewise put all the links in a files also called list.txt in another folder. But this time there were two links for each Sura, one in MP3 and one in Zip. I did that to get the zip links only:
cat list.txt | grep -i zip > list.txt
Then I issued the same command to start downloading. After that I did:
for File in $(ls); do unzip $File; rm $File; done
to unzip files and delete unzipped .zip files.

After that I did:
play *.mp3
to play them all :D ( yeah mp3 from the command line :D )

The final download script for the MP3s was
for File in $(cat list.txt)
do wget $File
File=$(basename $File)
unzip $File
rm $File
done
Like that once a file is downloaded it is unzipped and deleted automatically.

I am writing this to let people who use 'non-unix' know how simple and handy Linux can be.