Add option of mitsuba parallel loading. #284
Closed
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.
Fix strange assertion error caused by mitsuba when load_scene is called many times because of this unresolved issue: mitsuba-renderer/mitsuba3#849
Description
This PR added a new option to turn off the parallel loading in mitsuba.
This PR will mitigate the problem caused by mitsuba issue (mitsuba-renderer/mitsuba3#849) when the scene is repeatedly loaded for many times.
This PR added a new feature to turn on/off the parallel loading scene behavior.
This is needed because loading scene in parallel is a behavior that has to be tuned on some machines.
This submission is to add an option to switch a loading behavior that is previously hidden .
Checklist
[x] Detailed description
[x] Added references to issues and discussions
[ ] Added / modified documentation as needed
[ ] Added / modified unit tests as needed
[ ] Passes all tests
[x] Lint the code
[x] Performed a self review
[x] Ensure you Signed-off the commits. Required to accept contributions!
[ ] Co-authored with someone? Add Co-authored-by: user@domain and ensure they signed off their commits too.