Because the frames for movies don't have to be generated in real time we can take advantage of using ray-tracers such as Pov-Ray to render the individual frame images. This takes more time for the computer than taking screenshots but POV-Ray offers greater control over the lighting in our scenes. With it we can make beautifully complex shadowy scenes with very little errort on our part. Pov-Ray is free and can be downloaded from povray.org.
For this tutorial you will need POV-Ray, Seamless3d and the FFmpeg installer for Seamless3d installed.
The simple animation created for the nurbs lathe avatar demo will be used as an example for this tutorial. You can download the example file from this link: nurbs_lathe_av.smls. Put the nurbs_lathe_av.smls file in a new empty folder and double click it to open it into Seamless3d:
Select the Scene
node in the scene tree:
In the Scene node's control panel check the outputPovRay field:
if a PovLight has not already been added, this causes a PovLight node to be inserted as the first node in Scene:
and causes fields specific to PovRay to be shown in
the ColorEffect's
control panel when the ColorEffect
is selected.
To output the povray files right click on the Anim node and select output povray movie:
When done we will get a message showing we have created the following files:
and we are prompted to open the ini file in Pov-Ray, click Yes:
Set POV-Ray's resolution to 640 by 480 and make sure AA.03 is selected:
AA (Anti Alias) smooths out the pixels very nicely.
Click Run
and sit back and watch POV-Ray render the 49 frames one by
one or go for a health walk to pass the time.
Open the folder containing the files using windows explorer and Run the build_av.bat file by double clicking it:
The batch file will run FFmpeg with the command to create our file build_av_movie.avi from the png files.
When done:
the movie file will be added to the folder that contains the png images:
[ [3d Modelling Software] [Tutorials] [Forum] [Features] [Download] [Gallery] [FAQ] [Worlds] [Avatars] [Links] [Thyme]