Hi Thomas,
thanks for the effort, and bringing this into the 21st century.
Here is a little piece of software to set the type and SCS (or any other
variable) in a Povray file from the command line. You don't have to change the
source then to render another texture.
On the command line give
declare=TYP=1
In the Povray file add
#ifdef (TYP)
#declare Typ = TYP;
#else
#declare Typ = 1;
#end
// Check whether the correct value is given.
#if ((Typ < 1) | (Typ > 2)
// Give a #warning and set Typ to 1, or give an #error
#end
I use this idea to set radiosity (with a #switch) and I can choose between
several camera positions.
Cheers
Ton
Post a reply to this message
|