POV-Ray : Newsgroups : povray.general : File load failure : Re: File load failure Server Time
3 Aug 2024 14:17:08 EDT (-0400)
  Re: File load failure  
From: Christoph Hormann
Date: 28 Jan 2004 15:44:04
Message: <rfjle1-g4q.ln1@triton.imagico.de>
AngleWyrm wrote:
> I'm trying to load a series of data points from a file, but I'm only getting
> about half of them loaded. The data file is structured with three float
> values per line:
> 
> raInDeg decInDeg zval
> 
> Each triplet defining the rightascention, declination, and zvalue(redshift)
> of a celestial body. The data ranges (after a bit of processing!) are:
> raInDeg: 0 ~ 360
> decInDeg: -90.0 ~ +90.0
> zval: estimated at 0.0 ~ 10.0
> 
> Someone suggested that it might be commas between numbers,
> but when I comma delimit the file, it no longer reads.
> It reads about 4000 out of 9000 entries when I tab-delimit them.
> Any suggestions?

The amount of information you provided is not likely to be sufficient to 
tell you where your problem lies.  The POV-Ray #read function is only 
able to read comma separated values.  If you have the impression that 
this does not work you should show the minimal code necessary to 
reproduce this as well as the data file you try to read.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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