I am interested in making some of the code in my scene file conditional on
the quality setting. To speed up rendering, I intend to replace my
detailed models with simple cube shapes when quality=0. I have in mind to
do something like this:
#if( Quality == 0 )
box{ ... }
#else
object{ DetailedModel }
#end
The word Quality doesn't seem to be recognized as a valid variable. Does
anyone have any thoughts on how I might accomplish this.
Thanks for your help.
Wayne
Post a reply to this message
|