Much like earlier iterations of this program, this version renders a sphere using a emittance distribution. However, unlike prior versions, this one foregoes using a simple cosine distribution and reads an actual user-defined one in from a file.
Shown below is a sphere using this distribution:
DEF MY_EMITTANCE Emittance
{
distribution
[ # red
[
0.0, 0.0, 0.0, 0.0, 0.0, # negative D
0.1, 2.0, 3.0, 8.5, 9.0
],
# green
[
0.0, 0.0, 0.0, 0.0, 0.0, # negative D
0.1, 1.0, 2.0, 3.0, 3.5
],
# blue
[
0.0, 0.0, 0.0, 0.0, 0.0, # negative D
0.1, 1.5, 4.0, 6.0, 7.0
]
]
}
|
Potentially a user could create much more interesting distributions and screenshots than I have done here! So use your imagination and pretend you are impressed.