-
After rendering, I get a TensorXf with values outside the range [0.0,1.0] Is it correct ? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The output of a rendering in Mitsuba is in a linear color space, so there is no reason for the values to be in the [0, 1] range. What you do to get it to this range entirely depends on what you intend to do with the image after rendering. For example, in order to write it in a common format like JPEG or PNG, one would apply tonemapping to convert it to the correct color space. Why do you need values to be in that range ? |
Beta Was this translation helpful? Give feedback.
The output of a rendering in Mitsuba is in a linear color space, so there is no reason for the values to be in the [0, 1] range.
What you do to get it to this range entirely depends on what you intend to do with the image after rendering. For example, in order to write it in a common format like JPEG or PNG, one would apply tonemapping to convert it to the correct color space.
Why do you need values to be in that range ?