Skip to content
Discussion options

You must be logged in to vote

Hi @AZaitzeff

Here's the source code of convert_to_bitmap: source. The documentation is also in our API reference.

I believe what you are referencing here is the sRGB gamma ramp/correction. We don't have a page about this topic specifically, but we do have pointers on how to enable/disable it in Mitsuba this guide.
In short, we need a linear color space to during rendering but most likely you'll want a sRGB color values when displaying the rendered image.

Also convert_to_bitmap is a convenience function. As you can see from its source code, it's only a couple of lines. You can use the full BItmap constructor and its methods if you wish to produce a different result.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AZaitzeff
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