|
|
I have a nice long file, in the format:
-1.000000E+01 -1.000000E+01 -1.000000E+01 1 1 0
-1.000000E+01 -1.000000E+01 -9.000000E+00 1 1 0
-1.000000E+01 -1.000000E+01 -8.000000E+00 1 1 0
-1.000000E+01 -1.000000E+01 -7.000000E+00 1 1 0
-1.000000E+01 -1.000000E+01 -6.000000E+00 0 1 -1
-1.000000E+01 -1.000000E+01 -5.000000E+00 0 1 -1
-1.000000E+01 -1.000000E+01 -4.000000E+00 0 1 -1
The first three columns are x, y, and z coordinates. The next three are
data associated with the coordinates (to be represented as colour, size,
etc..)
I haven't had much luck loading these into PovRay. Pov seems to want
comma separated numbers, but this isn't feasable. I tried loading the
numbers in one at a time with:
#read (datafile,buffer)
Then output them with:
#debug str(buffer,0,1)
but it seems to loose negative signs and get generally confused.
Any suggestions?
-- Simon
Post a reply to this message
|
|