On 2022-03-08 07:40 (-4), Bald Eagle wrote:
> Cousin Ricky <ric### [at] yahoo com> wrote:
>
>> One way to solve this would be to declare a single pair of variables
>> that would be used by all six include files. Third party include files
>> would be encouraged to access these variables. What do you think of
>> this proposal? Does anyone have a better idea?
>
> Absent my current ability to formulate ways other than that one, I'd say that
> starting all of those include files with an #include statement that references a
> master include would be a good way to do it, in case any future tweaks happened.
What do you all think of the attached file? Are there any other
variables we can add?
I added Defaults_Gamma in case an include file needs to correct for a
scene's assumed_gamma. (I already have 2 Object Collection modules that
need to know a scene's assumed_gamma in order to return a proper color.)
Post a reply to this message
Attachments:
Download 'defaults.inc.zip' (1 KB)
|