|
![](/i/fill.gif) |
On 01/05/2012 08:44 AM, Scott wrote:
> This should be easy, but I'm having some trouble.
>
> I would like to read a series of vectors<x,y,z> from a text file and plot the
> points as spheres. To test things out, I made a text file with 2 vectors
> separated by commas.
>
> I get this error message. Can anyone tell me what I am doing wrong?
>
> //-------------------------------------------
> #fopen MyFile "myData.txt" read
> # local i = 1;
> #while (i<2)
> #read (MyFile,Vector[i]
> Parse Error: Expected 'undeclared identifier', empty array found instead
> //---------------------------------------------
have a look at the following if you've not done that already:
http://wiki.povray.org/content/Documentation:Reference_Section_2.3#Array_Identifiers
should be #local i = 0; ????
Post a reply to this message
|
![](/i/fill.gif) |