POV-Ray : Newsgroups : povray.animations : First animation : Re: First animation Server Time
14 Mar 2025 08:04:00 EDT (-0400)
  Re: First animation  
From: William F Pokorny
Date: 25 Feb 2025 05:02:04
Message: <67bd951c$1@news.povray.org>
On 2/24/25 14:51, SWG wrote:
> Hello, im new to this community, but i would like to present you all my first
> ever animation! Made with Windows Movie Maker and 13 different scenes to form
> frames.
> Name: Fall.mp4

Reflective sphere on checkered plane? Check. :-)

POV-Ray's inbuilt animation capabilities are worth a look.

//--- this.pov
sphere {  // Explicit movement of 1.0 in x for 9 frames
     <-0.5+(frame_number-1)/8,0.2,2>, 0.2
     pigment { rgb <1,0,0> }
     finish { emission 1 }
}
sphere {  // Generic movement of 1.0 in x for n frames
     <-0.5+(clock*1.0),-0.2,2>, 0.2
     pigment { rgb <0,1,0> }
     finish { emission 1 }
}
// Try the following two commands:
//
//   povray this.pov +w400 +h300 -p +kff9
//   povray this.pov +w400 +h300 -p +kff18
//
// The 1st command creates files this1.png  through this9.png.
// The 2nd command creates files this01.png through this18.png.
//
// +kff specifies the 'final frame' count - which less other
// options is the total frame count - and it triggers the
// rendering of frames for an animation.
//---

Bill P.


Post a reply to this message

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