|
![](/i/fill.gif) |
John VanZwieten wrote:
>
> Is it necessary for POV-Ray to parse a file separately for each view of the
> same scene? Is there any way to "save" the result of the parsing to use in
> repeated raytracings from different views?
>
> Thanks in advance for any help with this.
>
> -John VanZwieten
There is no simple way how to do this.
POV-Ray is an offline program which reads
its input, computes a pretty output and
terminates. There is an animation loop,
but it is based on reparsing the scene.
I noticed some debates on a binary format
(this is probably what you mean) but it
was never implemented (binary triangle
meshes are the only exception). Anyway,
a binary format would not lead to a
significant parsing speedup.
You asked for "any way". OK, there is a
way how to do a camera animation without
reparsing the scene. This requires some
programming. You have to write a program
which mimicks POV-Ray but keeps running
unless told to terminate. Such an
interactive POV-Ray must have an option
to parse a new file after rendering a
frame, without destroying the original
scene which is still in memory. The new
file will contain just the new camera.
That's it.
y.
Post a reply to this message
|
![](/i/fill.gif) |