|
![](/i/fill.gif) |
All -
I'm trying to render a collection of rods in 3-space using a .txt file in
Windows which contains the {x,y,z} centers of the rods as well as the
{theta,phi} angles of orientation of the rods as well.
I'm very well versed in R and Matlab, but am a total neophyte in povray and need
help setting up this small but important routine.
I've managed to #fopen and apparently #read the file successfully -- well, at
least without throwing an error -- but don't know how to assign the read
material into an array that can be used in a while loop for rendering the many
(e.g., hundreds) of rods specified in the text file.
Any syntactic hints?
Thanks!
John
Post a reply to this message
|
![](/i/fill.gif) |