POV-Ray : Newsgroups : povray.newusers : Rollercoaster type maths (not possible in povray?) : Re: Rollercoaster type maths (not possible in povray?) Server Time
29 Jul 2024 10:25:52 EDT (-0400)
  Re: Rollercoaster type maths (not possible in povray?)  
From: CdeathJd
Date: 9 Aug 2006 10:45:01
Message: <web.44d9f485d4496aa8e2e0912a0@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> Use the following instead, and you don't have to stop/restart the rendering.
>
> #if(frame_number = 1) Save_Velocity() #end
>
> On the first frame, the condition is true and the code is executed.
> On any other frame, the condition is false and the code is completely skipped.
>
> NO more need to comment out/uncomment :-)
>
> Great tool during scene creation to. Using #if(Flag), Flag been deffined near
> the top of the scene, or #if(1) #if(0) allows you to very easily enable or
> disable part of your code, like temporarily removing some object, texture
> elements or just about anything you may need to.

Thanks, i initially tried something like that but i used a variable insted.

Another problem, although not a killer one, is that if the track is pointing
directly up or down, and turns a bit, say like a loop-the-loop, the camera
"flips" over, onto the top of the track, when, naturally it should just
remain underneath.
If anyones got any tips on getting rid of this side-effect i'd be most
gratefull, like i said though, its not a killer of a problem.


Post a reply to this message

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