POV-Ray : Newsgroups : povray.advanced-users : File Read Problem : File Read Problem Server Time
29 Jul 2024 02:33:21 EDT (-0400)
  File Read Problem  
From: David Vincent-Jones
Date: 19 Apr 2003 17:36:50
Message: <3ea1c172@news.povray.org>
I am trying to use a file read to both position an object as well as
establishing the objects color..
The positioning is displaying correct as expected but the color is only
displaying as white.

#fopen DAT_File "C:\IMGdat.dat" read
#while (defined(DAT_File))
        #read (DAT_File, C1,C2,C3)
        sphere { <C1,C2,C3> 2 pigment{color rgb <C1, C2, C3>}}
#end

Can somebody suggest what may cause the problem.

David


Post a reply to this message

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