POV-Ray : Newsgroups : povray.beta-test : Bug in text file commands Server Time
3 Nov 2024 01:10:30 EDT (-0400)
  Bug in text file commands (Message 1 to 4 of 4)  
From: Steven Jones
Subject: Bug in text file commands
Date: 19 Sep 2001 16:11:39
Message: <3ba8fbfb@news.povray.org>
I'm trying to use #read to input vector values from a text file.  The
problem is that #read won't read any further than position two on the list.


Post a reply to this message

From: Ron Parker
Subject: Re: Bug in text file commands
Date: 19 Sep 2001 17:51:02
Message: <slrn9qi4q9.902.ron.parker@fwi.com>
On Thu, 20 Sep 2001 06:11:35 +1000, Steven Jones wrote:
>I'm trying to use #read to input vector values from a text file.  The
>problem is that #read won't read any further than position two on the list.

More details?  The script you're reading with, the text file you're trying 
to read, anything?

-- 
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions


Post a reply to this message

From: Warp
Subject: Re: Bug in text file commands
Date: 19 Sep 2001 18:51:47
Message: <3ba92183@news.povray.org>
I think it's time to remind people to read Ken's welcome message about
what should be posted in a bug report...

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Steven Jones
Subject: Re: Bug in text file commands
Date: 20 Sep 2001 01:08:09
Message: <3ba979b9@news.povray.org>
My fault, sorry.  I forgot to use a comma after EVERY vector, including the
last one on each line.


Post a reply to this message

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