POV-Ray : Newsgroups : povray.advanced-users : Reduce Parsing time? Server Time
1 Nov 2024 07:28:18 EDT (-0400)
  Reduce Parsing time? (Message 1 to 2 of 2)  
From: Michael
Subject: Reduce Parsing time?
Date: 9 Aug 2007 06:30:00
Message: <web.46baec364cc052665139b7910@news.povray.org>
Or eliminate, or something. I have a file that holds about 8000 individual
frames and where every object therein is supposed to be, but it has to
parse all 8000 frames each time it draws one. I need to find out how to
stop that.


Post a reply to this message

From: Mike Williams
Subject: Re: Reduce Parsing time?
Date: 9 Aug 2007 06:56:15
Message: <HoMiVOA0FvuGFwAI@econym.demon.co.uk>
Wasn't it Michael who wrote:
>Or eliminate, or something. I have a file that holds about 8000 individual
>frames and where every object therein is supposed to be, but it has to
>parse all 8000 frames each time it draws one. I need to find out how to
>stop that.

If you can predict the position of each object at a specific time,
independent of the history of the movement in the previous frames, then
you can just evaluate the positions for the individual frame.

If the position of the objects depends on their history (e.g. particle
systems where the particles bounce off each other or other objects in
the scene) then you can write out a file containing the state
information at the end of frame N and read it back at the start of frame
N+1. You still have to parse all 8000 frames at some point.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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