POV-Ray : Newsgroups : povray.general : <no subject> : <no subject> Server Time
30 Jul 2024 20:27:59 EDT (-0400)
  <no subject>  
From: this is me
Date: 21 May 2008 11:50:00
Message: <web.4834437dc23a6d9dfa546470@news.povray.org>
Hello,

Assume I have a text file, "vectors.txt", containing vectors that I wish to read
with each frame of an animation.  So, for frame 1, I read line 1, and for frame
2, I read line 2, and so on.  The following obviously doesn't work, so what is
the correct way to code it?



#ifndef (looks)

   #fopen looks "povray look test.txt" read

#end

#read (looks,var1)
#debug concat("what was read = ", vstr(3, var1, ", ", 0,3), "\n")


Post a reply to this message

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