POV-Ray : Newsgroups : povray.pov4.discussion.general : Suggest v4.0 experimental features : Re: Suggest v4.0 experimental features Server Time
2 Apr 2025 05:40:19 EDT (-0400)
  Re: Suggest v4.0 experimental features  
From: Leroy
Date: 19 Mar 2025 14:20:00
Message: <web.67db097a2ef514c15e35cc2ef712fc00@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> #read by whole line - everything gets read into one long string.
> This would allow user parsing of the string, regardless of data types,
> structure, number of entries, etc.

I like this Idea!
I have been playing with pgn files, chess format file. They are fancy text
files with a list of all the moves in a game with a lot of other information
like the tournament, players, rankings and so on. It would be nice to read all
that info and drop it line by line until I got to something I want.
 Right now I do it by hand by copying text to another file and getting it sit up
for POV to Read. I could write a C++ program to do it for me, but I like POV.
 Right Now 3.8 can handle strings larger that 255 elements, But Can't load them
from a file. (3.7 seem to handle strings the same way.)
 If a line read is to complicated to do, for some reason, then a binary read
would be almost as good. Say read so many bytes at time and return as a integer.

Have Fun!


Post a reply to this message

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