Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix power to radiance conversion #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix power to radiance conversion #109

wants to merge 1 commit into from

Conversation

dvicini
Copy link
Member

@dvicini dvicini commented Jul 15, 2024

With Blender 4.x, they at some point fixed their faulty conversion from power to radiance. They had a factor of 4 in that, where it should have been pi instead: https://projects.blender.org/blender/blender/issues/109404

This PR adjusts the exporter to now export according to the new, fixed convention.

Here some validation renderings. It's best to just download these and compare in TEV:

Blender Cycles rendering:
image

Mitsuba rendering with current exporter:
image

Mitsuba rendering with fixed exporter:
image

I think the area light is the only case that is affected. How much is backwards compatibility a consideration here? For full backwards compatibility, we would have to make this scaling conditional on the precise version of Blender where this changed (not sure which one that is)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants