POV-Ray : Newsgroups : povray.animations : How to speed up parsing in animation scenes? : Re: How to speed up parsing in animation scenes? Server Time
1 Jun 2024 07:11:18 EDT (-0400)
  Re: How to speed up parsing in animation scenes?  
From: Mike Williams
Date: 5 Apr 2006 02:36:17
Message: <UR12LEAaU2MEFwoU@econym.demon.co.uk>
Wasn't it Icetoaster who wrote:
>Hi,
>
>I recognized, that at each frame of the animation Povray does a
>parsing of the non-dynamic scene. This takes up 9/10 (=ParseTime)
>of the total time. Only 1/10 of the time is the render time.
>(ParseTime = 9 * RenderTime)
>
>Lets say, I have n frames, the render time is
>
>t_now = n * (ParseTime + RenderTime) = n * 10 * RenderTime
>
>However, if objects stay the same, it should be speeded up to this:
>
>t_better = 1 * ParseTime + n * RenderTime = (n + 9) * RenderTime
>
>
>which is much less.
>For n=10:  t_now = 100 * RenderTime
>        t_better =  19 * RenderTime
>
>Is there a possibility to speed up things like that?
>Or is it my fault, because I use a rand() function for some
>objects.

The old MegaPOV (before version 1.0) had "Persistence of Variables" and
"Persistence of Objects" features, which did that. I don't know of any
patched versions based on recent POV syntax that provide such features.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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