POV-Ray : Newsgroups : povray.binaries.animations : 2 Opal rings : Re: 2 Opal rings Server Time
2 Jul 2024 02:50:10 EDT (-0400)
  Re: 2 Opal rings  
From: Markus Altendorff
Date: 24 Feb 2007 17:41:55
Message: <45e0bf33@news.povray.org>
St. wrote:
> ...And this is where I'm up to now.
> 
>    This is the code that I finally came up with for this vid:
> 
>      object{
>        Horse5     //Two seperate horses exported as one model from Wings
>        translate x*0
>        translate y*.45*sin(360*clock)
>        scale 2.45
>        rotate (y*clock*360)
>       }
> 
>   How do I go about making another set of horses fall when the first set 
> rises?

Either add 90 degrees to the sin() like:
sin((360*clock) + 90)
or use cos(360*clock) (a cosine is a sine shifted by 90 degrees)

-Markus

(keeps fingers crossed that it isn't 180 degrees, his 
trigonometry lessons being, like, so very 1985...)


Post a reply to this message

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