POV-Ray : Newsgroups : povray.windows : Passing user-defined parameters : Re: Passing user-defined parameters Server Time
29 Apr 2024 13:17:24 EDT (-0400)
  Re: Passing user-defined parameters  
From: Christian Froeschlin
Date: 15 Feb 2009 14:47:04
Message: <49987138@news.povray.org>
Darren New wrote:
> twister wrote:
>> Any advice appracated.
> 
> Check section 3.1.2 of the manual. Anything there can be put in an .ini 
> file or can be passed on the command line.  

In particular, see 3.1.2.5.1 "Declare=IDENTIFIER=FLOAT". This can
be  used to set the value of a numeric constant from the command line,
which can then be used a switch in the scene file. Unfortunately, it
does not work for strings (would come in very handy for POV scripts
which actually render text, such as buttons for web pages).


Post a reply to this message

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