-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement material information reading (#156)
Implement material information reading (#149) * Add API call to create mesh with uvs * Add texture placeholder * Cleanup * Add texture api call * Add Texture constructor with cuda objects * Add texture to SBT * Rename object to be consistent * Add texture to api objects * Add texture sampling to OptiX program * Change API Calls policy * Add placeholder for basic texture test * rename texture slot * Add texture coordinates to mesh * First porsion of small cleanups * change approach to TextureData struct * Add TextureData as a texture field * add channel descriptor creator * Fix potential issues with non square and tiling textures * Fix float interplotation bug * Fix texture sampling and write test to that * Define non hit value (#146) * Add texture sampling to OptiX program * Cleanup before PR * Make SBT request more elegant * Make TAPE_HOOK for void* array work * PR fix chabges v1 * Rebuild texture test and fix tape * Change texture logic to only float approach * Smol fixes * invalid param tests * change suit name * Update src/api/apiCore.cpp * Update test/src/textureTest.cpp * Update src/api/apiCore.cpp * Update src/Tape.hpp * Update src/api/apiCore.cpp * Add delete_texture call * PR changes v2 * PR changes v3 * Zero pointer and change date * change texture to char and small fixes * tweak optix to half-float textures * Playground commit * fix texture to 8bit char * Update test/src/tapeSurfaceTest.cpp * Fix PR changes * RGL_TEXTURE_TEXEL_FORMAT -> TextureTexelFormat * remove unsafe include in cuda --------- Co-authored-by: Piotr Mrozik <[email protected]>
- Loading branch information
1 parent
80c1b26
commit 8cc154f
Showing
21 changed files
with
651 additions
and
50 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
Oops, something went wrong.