"Ger" <No.### [at] ThankYou> wrote in message news:4396bb81@news.povray.org...
>
> Is it possible to do something like
>
> povray +iscene.pov +LightSetting=1 +W320 +H180
> as commandline and then in the code
>
> #if (LightSetting=1)
> code
> #end
>
> #if (lightSetting=2)
> more code
> #end
> ?
>
> I have searched the helpfile but couldn't find anything about this.
> Btw, I'm using povray 3.6.1 on linux.
> --
> Ger
Yes.
You can add
Declare=LightSetting=1
to either an INI file or to the command line.
See the Declare ini-option in the help.
Regards,
Chris B.
Post a reply to this message
|