-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to advanced diffuse shading models.
- Fixed a bug in the Oren-Nayar implementation. - Changed the interaction between the Oren-Nayar and Lommel-Seeliger models to work as originally intended, with `lommel_seeliger K oren_nayar SIGMA` giving a K:(1-K) weighted average of Lommel-Seeliger and Oren-Nayar). - Implemented mechanisms to compensate for the reduced effective brightness of the Oren-Nayar and Lommel-Seeliger models when using canonical brightness parameterization. Using `diffuse albedo FLOAT` should now give identical bihemispherical albedos (ratio of total outgoing light vs. total incoming light) for all models. Also, when using canonical brightness parameterization (`diffuse FLOAT`), the Lambertian-based approximation used in radiosity should now match the effective bihemispherical albedo.
- Loading branch information
Showing
7 changed files
with
38 additions
and
31 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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.7.1-alpha.8545805 | ||
3.7.1-alpha.8555867 |