|
|
For animations, a simple but IMO nice camera-effect.
First "Cut & paste" the following files into the files:
"scene0.pov" and "scene0.ini"
Of course without the limiters;-) .Than render with the command:
povray scene0.ini
the images for the animation. I'm using the .ppm-format, because on
LINUX/UNIX etc. the .ppm-format is the most supported format for
making animations. But if you wish the default image-format, delete
the "P"-character after the switch: +F in the .ini-file.
After all images are rendered, create the video, with an encoder of
your choice. If your are using the "ffmpeg"-encoder (LINUX) you can
create the video with this command:
ffmpeg -bf 2 -an -g 300 -b 10000000 -i ./scene%4d.ppm scene0.mpg
and see what happens. :-)
And all wich can't render the scene, can found the result in the
attachment.
--[File: scene0.pov]-------------------------------
#include "colors.inc"
background{MediumBlue}
box{-1,1 pigment{White}}
light_source{-5,2}
camera{location<0,0,-5>
normal{quilted 1 rotate z*360*clock}
}
--[End of: scene0.pov]------------------------------
---[File: scene0.ini]--------------------------
Quality=9
Antialias=on
Antialias_Threshold=0.2
Antialias_Depth=7
Input_File_Name="scene0.pov"
Initial_Frame=1
Final_Frame=120
Subset_Start_Frame=1
Subset_End_Frame=30
Initial_Clock=0
Final_Clock=1
Cyclic_Animation=on
Pause_when_Done=off
-D
+FP
-W640
-H480
---[End of: scene0.ini]------------------
Post a reply to this message
Attachments:
Download 'scene0.mpg' (62 KB)
|
|
|
|
Ben Chambers <ben### [at] pacificwebguycom> wrote:
> All I see is a blue background with some white squares...
>
> ...Chambers
Did you read the SDL-script, I had posted ?
If you did not understand this few lines, insert
the following line into the camera-object of one
of your own scenes
normal{quilted 1}
Post a reply to this message
|
|