POV-Ray : Newsgroups : povray.programming : help with #read : help with #read Server Time
29 Jul 2024 02:19:59 EDT (-0400)
  help with #read  
From: Mike Weber
Date: 27 Nov 1998 19:23:36
Message: <365f4288.0@news.povray.org>
I'm using the new #read in POV 3.1 but its not working for me.  I'm read
X,Y,Z data from a file and I get an error on the third line below:

-16.00000,95.00000,0.00000
-8.00000,89.00000,0.00000
0.00000,82.00000,0.00000  <<< this line
6.00000,75.00000,0.00000
12.00000,67.00000,0.00000
18.00000,60.00000,0.00000
23.00000,52.00000,0.00000
27.00000,44.00000,0.00000


Here is the line I'm using to read the data from the file:

 #read (XYZDATA, dataX, dataY, dataZ)


I don't understand why it can read the first two lines,
but gives me this error on the third:

 #read (XYZDATA, dataX, <---- ERROR

error: float, vector, or string literal expected but , found instead.


Can anyone see what could be the problem?!?!?!?!?


Mike



--

Mike
xmw### [at] millennianetcom - remove the x for replies
For 3D pictures and animations
http://www.geocities.com/siliconvalley/pines/8625


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.