POV-Ray : Newsgroups : povray.general : povray #read fails with "0" : Re: povray #read fails with "0" Server Time
6 Oct 2024 09:42:53 EDT (-0400)
  Re: povray #read fails with "0"  
From: Doctor John
Date: 28 Jan 2014 10:12:15
Message: <52e7c8cf$1@news.povray.org>
On 28/01/14 14:45, gregjohn wrote:
> 
> I was reading a CSV file successfully until povray ran into the next to  last
> line below. (There were dozens of lines before it which were read successfully
> as well, dozens after of similar format to the last line. )
> 
> 
> 
> 
> -0.126,-2.53681E-06,49668.6783795397
> -0.108,-2.14271E-06,50403.4610376579
> -0.09,-1.77115E-06,50814.442593795
> -0.072,-1.42709E-06,50452.3190548599
> -0.054,-1.05761E-06,51058.5187356398
> -0.036,-6.98572E-07,51533.7001769324
> -0.018,-3.47316E-07,51826.0028331548
> 0,-1.8643E-09,0
> 0.018,3.49041E-07,51569.8728802634
> 
> 
> Error message,
> // "huhnomarks2.csv" line 52: Parse Error: Expected 'float, vector, or string
> literal', ,  found instead
> //  Render failed"
> 

I don't use #read very often so I might be wrong but shouldn't there be
commas after all the values even at the end of the lines?

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message

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