Replies: 1 comment 1 reply
-
Hello @free7187, Did you check the values of PS: when debugging things like this, I would recommend removing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks to the discussion#1309 , I can now attempt to edit
spectral multi-channel rendering
in Python.However, the working mode for spectral channels is not quite what I expected. To test whether I could edit individual channels of the spectral BRDF, I ran a simple test with the following code:
And here is the XML scene setup:
I initially assumed that with the
32-channel
setup, setting channels[0:10]
,[10:20]
, and[20:30]
of new_brdf to 1 (with other channels set to 0) would result in different colors for the render output. However, the final render always appears gray:I also tried setting all BRDF channels to 1, as well as setting only one specific channel to 1. The render results are as follows:
After analyzing the RGB ratios for all pixels in these three images, I noticed that they all tend towards
(1:1:1)
. It appears that changing channel values only affects the final output’s brightness, which is quite different from what I had anticipated. I originally expected, for example, that setting channels[10:20]
to 1 and others to 0 would result in agreen
color.Am I missing something? How should I properly edit spectral BRDF channels to achieve the intended effect?
Beta Was this translation helpful? Give feedback.
All reactions