tutorials:light-modeling-first-steps
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorials:light-modeling-first-steps [2025/06/02 19:16] – MH | tutorials:light-modeling-first-steps [2025/06/02 20:13] (current) – MH | ||
---|---|---|---|
Line 21: | Line 21: | ||
In GroIMP/XL, this can be done as following: | In GroIMP/XL, this can be done as following: | ||
- | For the twilight | + | For the Twilight |
<code java> | <code java> | ||
Line 60: | Line 60: | ||
Direct after saving the code, the light model will be executed and the following will be printed in the XL Console Window: | Direct after saving the code, the light model will be executed and the following will be printed in the XL Console Window: | ||
- | {{ : | + | {{ : |
+ | |||
+ | |||
+ | While in the above example the object is black, what means that all incoming radiation is absorbed (and nothing reflected), the line below will shange the object colour to some orange | ||
+ | |||
+ | <code java> | ||
+ | Axiom ==> Box(0.1, | ||
+ | </ | ||
+ | |||
+ | what means that all of red and 50% of green are reflected while all blue radiation is absorbed as the resulting output confirms. | ||
+ | |||
+ | |||
+ | {{ : | ||
tutorials/light-modeling-first-steps.txt · Last modified: 2025/06/02 20:13 by MH