Open
Conversation
Member
|
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 😉 |
Author
|
This PR now only includes the sunsky changes. See new description text at the top. |
Contributor
|
What is needed (other than a rebase :) ) to get this great work merged? Should the spectral texture loading be addressed? |
|
Was sunsky added?? |
Member
|
No it wasn't added to the Mitsuba 2 repository. Once the new codebase is release we can try to revive this PR. |
Contributor
|
@Speierers - thanks for the update, do you happen to have a rough ETA for the new code base release? |
Member
|
@alhirzel all I can say is that it will happen before SIGGRAPH this year 😉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.