POV-Ray : Newsgroups : povray.general : how to read a 2d uv vectors in pov-ray : how to read a 2d uv vectors in pov-ray Server Time
1 Aug 2024 22:18:28 EDT (-0400)
  how to read a 2d uv vectors in pov-ray  
From: lien0n
Date: 11 Apr 2005 10:35:00
Message: <web.425a8a3bc29b5505598059850@news.povray.org>
I got a code piece like follow:
  uv_vectors
  {
    #read (File,Bottom_numUV)
    Bottom_numUV,
    #local i=0;
    #local temp=<0,0>;
    #while (i<Bottom_numUV)
    #read (File,temp)            (*)
    temp
    #local i=i+1;
    #end
  }

And I also got a file like this:
16384,
<0.000000,0.992188>,
<0.007813,0.992188>,
<0.015625,0.992188>,
<0.023438,0.992188>,
....

but the parser said on the (*) line:
Parser error: Expected 'undeclared identifier', uv vector identifier found
instead

Forgive me to launch such a stupid question, but it is really important to
me,


Post a reply to this message

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