Quote:
Originally Posted by Didée
When referring to conditional variables in the do_the_shifting_stuff section, they have to be global, don't they?
|
Yes, to be visible in a function, they do need to be global, as I mentioned above.
And if you're writing to them, you don't have the option of passing them as parameters.
Quote:
I would NEVER have done R24 without that style of using (lots of) defined functions, called from within the conditional envoronment. That way it was easily possible to get a reasonable level of "modularisation".
|
GRunT helps in that respect because it allows calling of the run-time functions (such as AverageLuma) from within a user function.