POV-Ray : Newsgroups : povray.general : POV-CSDL (or Java Binding?) : Re: POV-CSDL (or Java Binding?) Server Time
10 Aug 2024 11:22:28 EDT (-0400)
  Re: POV-CSDL (or Java Binding?)  
From: PoD
Date: 15 Mar 2000 16:24:09
Message: <38D006E6.F475B399@merlin.net.au>
In article <GIHOOHWP57GVgbOx81s8aTSybt3d@4ax.com>, Glen Berry
> <7no### [at] ezwvcom> wrote:
> 
> > I can't imagine how it would possibly take anything approaching 45
> > minutes to scan for the appearance of a few interactive keywords,
> > requiring user data input,  in a POV scene file. If some are found,
> > the values would be entered at that time, before the "real" parsing
> > would begin. There should be no such thing as sitting in front of your
> > monitor for 45 minutes waiting to enter data into a scene that is
> > parsing.

#declare L=rand(Seed)*10;
#declare A = array[L];
#declare I=0; #while(I<L)
 A[I] = user_input();
 #declare I=I+1; #end

Yes, I've also read the bit about time-outs and default values.
This makes what would be fairly simple to do portably more problematic.
You now need a portable way to wait n seconds for user input, else
continue running.

The command line idea has the most promise, IMHO. Except then the
command line args need to match the variables in the script.

The most portable way would be to not change anything. Include a .inc
file which defines your variables, put a note in your script and maybe a
#debug to remind users to set the values.

PoD.


Post a reply to this message

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