POV-Ray : Newsgroups : povray.binaries.animations : A camera-effect : A camera-effect Server Time
30 Jun 2024 04:31:01 EDT (-0400)
  A camera-effect  
From: Meothuru
Date: 2 Jan 2007 00:35:01
Message: <web.4599eeccae2b7a2d13dd34b50@news.povray.org>
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)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.