-
Notifications
You must be signed in to change notification settings - Fork 266
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
Mitsuba 1 Sunsky #85
base: master
Are you sure you want to change the base?
Mitsuba 1 Sunsky #85
Conversation
Hi @tszirr, Thanks a lot for your PR! Could you please split this PR in 4 different PRs (part 1 has already been merged into master from your other PR)? Then I will be happy to review those changes 😉 |
This PR now only includes the sunsky changes. See new description text at the top. |
What is needed (other than a rebase :) ) to get this great work merged? Should the spectral texture loading be addressed? |
Was sunsky added?? |
No it wasn't added to the Mitsuba 2 repository. Once the new codebase is release we can try to revive this PR. |
@Speierers - thanks for the update, do you happen to have a rough ETA for the new code base release? |
@alhirzel all I can say is that it will happen before SIGGRAPH this year 😉 |
NEW DESCRIPTION:
Port of the mitsuba1 sunsky plugin, following the old implementation as closely as possible. I tested scalar_rgb, packet_rgb, gpu_rgb, scalar_spectral, and packet_spectral modes, they all approximately match the references I have for mitsuba 1.
The implementation is slighly compacted, merging sun, sky, and sunsky, with corresponding XML upgrade paths. An open issue is that there is currently no way to pass a spectral texture to the 'envmap' plugin. This results in unnecessary RGB and subsequent upsampling conversions for the spectral code path. However, I tried to keep the code forward-compatibile, such that the necessary changes to the spectral code path are minimal, once spectral emitter textures are supported.
OLD DESCRIPTION, now split into other pull requests: #90 #91 #86
This pull request includes several patches which ultimately allow to load all the mitsuba1 scenes that I have been using in the past years, mostly without any manual modifications.
I kept the patch as small as I could, the biggest additon being an as direct as possible port of the mitsuba1 sunsky plugin.
I tested scalar_rgb, packet_rgb, gpu_rgb, scalar_spectral, and packet_spectral modes, they all approximately match the references I have for mitsuba 1.
While I tried to keep changes small, the following outline hopefully simplifies their review:
With this set of changes (and the additional upgrade load flags), I can load and render all mitsuba1 scenes I have on drive, including many scenes from previous work and popular public scene archives.
Update: One more commit to also fix packet_spectral. Tested modes are now scalar_rgb, packet_rgb, gpu_rgb, scalar_spectral, and packet_spectral. Also re-checked API-doc build.