POV-Ray : Newsgroups : povray.advanced-users : Instantiation and terminiation....OOP & Povray? : Re: Instantiation and terminiation....OOP & Povray? Server Time
28 Jul 2024 10:28:52 EDT (-0400)
  Re: Instantiation and terminiation....OOP & Povray?  
From: Chris B
Date: 25 Jan 2006 03:40:24
Message: <43d73978$1@news.povray.org>
"Mike" <inf### [at] mydisorg> wrote in message 
news:web.43d6f47f30dfb549a12b420@news.povray.org...
> Is there a way to using Povvray's SDL to simply instantiate an object X at 
> a
> specified moment in time (somewhere between 0.0 and 1.0) and then
> terminate it at a specific moment in time (between 0.0 and 1.0). If so,
> this would really help with an AI Animation I'm working on where I must
> maintain and print out complex multi-demonsional arrays into spline paths.
>
> All thoughts great appreciated!
>
> -mike
>
> http://www.mydis.org
>
>

Yes.
You simply add the object to the scene within a clause that is conditional 
upon the clock value. Fore example:

#if (clock>0.42 & clock<0.84)
  sphere {...}
#end

Regards,
Chris B.


Post a reply to this message

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