|
![](/i/fill.gif) |
> I looked at some answers to read data and to draw spheres in 3D BOX. I am
> very interested in that. So, I am trying to do those. But, drawn spheres
is
> not matched with data as a position. My data file is 'practice.txt'. Also,
> format is as following:
>
> 100.2 200.3 0
> 200.1 100.2 0
> 10.2 23.1 0
> etc
Povray requires commas between the various values, even at the end of line
(but not at the end of file!). In regard to your other questions: it can
read integers or floats (where a "." separates integer-part from float-part,
like "3.51" or "2135.98124"), or strings surrounded by " (e.g. "string").
You could also have a look at my IO-Macros, the link to my website is in the
sig.
Regards,
Tim
--
aka "Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Post a reply to this message
|
![](/i/fill.gif) |