POV-Ray : Newsgroups : povray.binaries.images : Reading in code line by line? : Re: Reading in code line by line? Server Time
30 Jul 2024 10:22:23 EDT (-0400)
  Re: Reading in code line by line?  
From: Jörg 'Yadgar' Bleimann
Date: 17 Dec 2011 13:10:33
Message: <4eecdb19$1@news.povray.org>
High!

On 17.12.2011 13:42, Thomas de Groot wrote:

> Yes, that is possible indeed. Write a file with each text item separated
> by commas (and I think they also should be within " ", not sure
> however), then read the file using:

As the file to read the data from is the original stones1.inc file, it 
probaby would be better to write a C++ program which reads in the text 
line-wise, generates PoV-Ray array definition code from these lines and 
then stores it under "stones1_inc.inc"!

See you in Khyberspace!

Yadgar


Post a reply to this message

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