|
![](/i/fill.gif) |
"Grobi" <and### [at] boesmann com> wrote:
> Hi !
>
> for a given scene the parsing takes a lot more time than rendering.
>
> Is there a way to keep the parsed information to use with e.g. another
> resolution render ?
It depends on what's taking up most of the parsing time. Say you're using some
algorithm to place objects automatically, and the calculations are taking a
long time. You can save the final object positions to a data file once, then
read them back in as many times as you like. I've used this technique before,
when placing 500,000+ brick objects algorithmically. I cut down over an hour of
parsing to 20 minutes by saving the positions to a text file, then simply
reading them back in before the final render. I use this technique for saving
time when generating meshes too - by writing an .inc file that I can use
anywhere, more quickly, later on.
If this sounds like the problem, read up on the #fopen, #fclose, #write and
#read directives:
http://www.povray.org/documentation/view/3.6.1/235/
If, however, the parsing time is already due to large data files being read, I
don't know. I suspect it would be impossible, or extremely difficult.
Hope this helps
Bill
Post a reply to this message
|
![](/i/fill.gif) |