-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL_renderer: Fix nullptr access when using unsupported MDL volume.sc…
…attering expressions. The renderer handles only direct anisotropic_vdf() at this time, not mixers or modifiers or the new fog_vdf() added in MDL 1.8. Initialize PRD flags for primary rays to use epsilon == 0.0f. Changed readData() to use file tellg() and read() instead of the slow std::istreambuf_iterator method. Moved assimp includes from Application.h to Assimp.cpp. Cast vertex attributes to const pointers inside hit.cu. Added fabsf() overloads for float2/3/4 to vector_math.h. Put OptiX validation mode behind USE_DEBUG_EXCEPTIONS define. Removed duplicate "the" from comments.
- Loading branch information
Showing
8 changed files
with
155 additions
and
100 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
Oops, something went wrong.