POV-Ray : Newsgroups : povray.unofficial.patches : Persistence of animation : Re: Persistence of animation Server Time
2 Nov 2024 03:15:34 EDT (-0400)
  Re: Persistence of animation  
From: Bouf
Date: 21 Mar 2000 03:18:34
Message: <38D734A6.D0E78614@nanterre.marelli.fr>
"H.E. Day" wrote:
> 
> I've been trying out the labeling thang in MegaPov.  From the docs I'd
> expect it to parse a labeled object once and then keep it in memory for
> the entire animation without parsing it again.  Instead it parses the
> labeled object up into memory for the first frame, and then parses it
> *again* for each frame, leading to a drastic speed decrease.  How do I
> get this to work?
> Oh, i tried to use "delete {}" but MP doesn't seem to recognize it.
> HELP!
> 

I'm not sure, but I think that you have to declare your object only in
the first frame, with :

#if (clock = 0)

...declare something persistant...

#end

Bouf.


Post a reply to this message

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