I have also created an animation of the scene by making lighting changes with respect to time. A simple animation is created using the "clock" variable. The light in the scene is shown to grow as the animation advances making the picture more brighter and clearer as time proceeds. This has been implemented using
the following steps on
night_street_without_radiosity.pov (without radiosity) and
night_street_with_radiosity.pov (with radiosity) (Click Here to read the program):
- Copy the night_street_without_radiosity.ini (OR night_street_with_radiosity.ini) file to ini directory of Povray.
- Make sure your LIBRARY_PATH is set to that directory.
- Also see to it that the path to the input file specified in ".ini" file is night_street_without_radiosity.pov if you want radiosity disabled OR night_street_with_radiosity.pov if you want radiosity enabled
- Go to bin directory of POVRAY and type :
./povray ../Povray/povray-3.6/ini/night_street_with(OR without)_radiosity.ini
- On executing the command given below some .png files will be generated (20 for night_street_without_radiosity and 7 for night_street_with_radiosity)
- Use the following command to generate the .gif image from the above .png files
convert night_street_with_radiosity.png01 ...... night_street_with_radiosity.png07 night_street_with_radiosity.gif
OR
convert night_street_without_radiosity.png01 ...... night_street_without_radiosity.png20 night_street_without_radiosity.gif
P.S. : - Running the animation with radiosity takes a lot of time (arnd 3 hrs for 7 frames) while time taken for generating the animation without radiosity is around 1 hour for 20 frames.
- Running the program for generating a .png image takes around 3-4 minutes for "without radiosity" while around 25 minutes for "with radiosity"
Resources used:
There is a lot of material available on the web. However, the best
place to go to learn POV-Ray from scratch would be
http://www.povray.org/documentation/.
The tutorial available with the Povray download is also a very nice documentation to start with.
Other image files (
Not relevant to assignment submission)
- My first attempt at generating an interesting image using povray (demo.pov)
- All other .png files generated when learning PovrayOther_Image_Files