|
![](/i/fill.gif) |
Greg M. Johnson wrote:
>
> I wish that the documentation better explained the syntax for #read
> and #write.
>
> I have created a file of the positions and velocities of a number of
> particles, (34 particles at 350 time periods). I have pasted the
> first four records from my file.
Generally, when I have an outside program generate data for POV-Ray,
I have the same program output a standard .INC file, with all of the
#declares, #locals, etc., needed for POV-Ray to parse the file directly.
This requires very little extra effort in the program that generates the
data, and the results parse a lot faster.
For instance, in my last IRTC entry, the insect parts were made of
bicubic patches, which I converted to meshes using a bit of macro
code. I got tired of waiting for the macro to parse, so I modified the
macro to write the triangles to a file, in full POV syntax. From then
on I merely #included the generated files, in place of the original
generating code. Things parsed much more quickly.
Regards,
John
Post a reply to this message
|
![](/i/fill.gif) |