|
|
hi
i am having multiple functions defined in povray, that all return a float value,
now i would like to have povray select a specific function from them depending
on a given coordinate (at runtime!). i think is saw someone using a statement
like
select((x>10&x<40), f1(x,y,z), f2(x,y,z))
*inside* a function but i am having no luck with that. there is no warning or
error, but povray seems to ignore the conditional statement.
is someone able to explain this to me?
thx,
Simon
Post a reply to this message
|
|