Skip to content

render() return TensorXf values outside the range [0.0,1.0] #97

Closed Answered by bathal1
nebnes asked this question in Q&A
Discussion options

You must be logged in to vote

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 ?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nebnes
Comment options

@bathal1
Comment options

@nebnes
Comment options

Answer selected by nebnes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants