POV-Ray : Newsgroups : povray.general : Help for an animation Server Time
29 Nov 2024 19:31:05 EST (-0500)
  Help for an animation (Message 1 to 3 of 3)  
From: orb
Subject: Help for an animation
Date: 21 Jun 2005 05:41:42
Message: <mn.aac07d5689f4e7ef.34495@msn.com>
Hello everybody :)

I would like to know how I can make a animation, it means, I have a 3d 
object, and I want to go through this object, using a specific way (I 
want to define a way, with a spline for example, and I want that the 
camera follow this way.)

Thanks to your answers :)

-- 
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net


Post a reply to this message

From: Mike Williams
Subject: Re: Help for an animation
Date: 21 Jun 2005 07:48:30
Message: <7IDttBAH6$tCFwtM@econym.demon.co.uk>
Wasn't it orb who wrote:
>Hello everybody :)
>
>I would like to know how I can make a animation, it means, I have a 3d 
>object, and I want to go through this object, using a specific way (I 
>want to define a way, with a spline for example, and I want that the 
>camera follow this way.)
>
>Thanks to your answers :)


Take a look in the example scenes that came with POV for
animations\splinefollow.pov

Ensure that FirstPerson is set to yes (I've rendered it both ways and
don't remember whether it was initially yes or no)

#declare FirstPerson = yes;

In particular, observe this part of the code:

// First-person-view camera
// Follows the same path as the first aircraft
#if (FirstPerson=yes)
   camera {
      location 0
      look_at z
      translate <0,0.4,0.4>
      Spline_Trans (MySpline, clock*11, y, 0.5, 0.5)
   }
#end

The "11" comes from the fact that the MySpline in this scene happens to
be specified from 0 to 11.

The translate <0,0.4,0.4> simply moves the camera so that it is outside
the first aircraft, which also moves round the same spline in this
example.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: orb
Subject: Re: Help for an animation
Date: 21 Jun 2005 09:20:13
Message: <mn.ab9b7d56501d08aa.34495@msn.com>

> Wasn't it orb who wrote:
>> Hello everybody :)
>> 
>> I would like to know how I can make a animation, it means, I have a 3d 
>> object, and I want to go through this object, using a specific way (I 
>> want to define a way, with a spline for example, and I want that the 
>> camera follow this way.)
>> 
>> Thanks to your answers :)
>
>
> Take a look in the example scenes that came with POV for
> animations\splinefollow.pov
>
> Ensure that FirstPerson is set to yes (I've rendered it both ways and
> don't remember whether it was initially yes or no)
>
> #declare FirstPerson = yes;
>
> In particular, observe this part of the code:
>
> // First-person-view camera
> // Follows the same path as the first aircraft
> #if (FirstPerson=yes)
>    camera {
>       location 0
>       look_at z
>       translate <0,0.4,0.4>
>       Spline_Trans (MySpline, clock*11, y, 0.5, 0.5)
>    }
> #end
>
> The "11" comes from the fact that the MySpline in this scene happens to
> be specified from 0 to 11.
>
> The translate <0,0.4,0.4> simply moves the camera so that it is outside
> the first aircraft, which also moves round the same spline in this
> example.

big thanks!!!

I finally succeed thanks to you :)

-- 
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net


Post a reply to this message

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