-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better rgb/spectrum tag convertion in scene loading
This commit makes changes in the interpretation of <rgb value=".."> and <spectrum value=".."> properties during scene loading for both RGB and spectral modes. The main outcome of these changes: 1. In spectral mode, <spectrum ..> properties remain untouched (used to be multiplied by D65 for emitters, and normalized according to CIE curves) 2. In RGB mode, <spectrum ..> properties are pre-integrated and normalized according to CIE curves. For reflectance properties this pre-integration will take into account the D65 illuminant in order to mimic the behavior of spectral mode.
- Loading branch information
Showing
38 changed files
with
1,070 additions
and
447 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,6 @@ | |
'irregular', | ||
'srgb', | ||
'd65', | ||
'srgb_d65', | ||
'blackbody' | ||
] | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.