|
|
"Slime" <fak### [at] emailaddress> wrote:
> > Is there a possibility to speed up things like that?
> > Or is it my fault, because I use a rand() function for some
> > objects.
>
> Well, POV-Ray always re-parses the file each frame, and there's nothing that
> can be done about that. However, if there's any part of your scene which is
> dynamically generated (for instance, many objects created in a loop or
> recursively) and doesn't change depending on the clock, you could #write it
> to a file during the first frame, in POV-Ray SDL, and then #include that
> file in the rest of the frames.
>
> - Slime
> [ http://www.slimeland.com/ ]
How can I write those static objects to a file?
I have looked for the description of the #write command, but this seem
to make sense only for strings and numbers. I have e.g. a staple of
wooden trunks, which are translated by a small random value to make it
look more natural.
How can I output rendered objects with this method? And under what
circumstances
does this save time?
Thanks for help,
Icetoaster
Post a reply to this message
|
|