-
- Downloads
[#92] fixed acceleration structure creation.
I revisited the acceleration structure creation and tried different things and now it finally works (not perfect, but it works). The main issue was (i think) the data being given as uint8_t. I changed it to float for vertices and uint32_t for indices and now it works. Additionally i rewrote the way we submit commands to the commandbuffer.
parent
1c6f57ce
No related branches found
No related tags found
Showing
- modules/rtx/include/vkcv/rtx/ASManager.hpp 61 additions, 7 deletionsmodules/rtx/include/vkcv/rtx/ASManager.hpp
- modules/rtx/include/vkcv/rtx/RTX.hpp 2 additions, 2 deletionsmodules/rtx/include/vkcv/rtx/RTX.hpp
- modules/rtx/src/vkcv/rtx/ASManager.cpp 293 additions, 291 deletionsmodules/rtx/src/vkcv/rtx/ASManager.cpp
- modules/rtx/src/vkcv/rtx/RTX.cpp 5 additions, 3 deletionsmodules/rtx/src/vkcv/rtx/RTX.cpp
- projects/rtx/resources/shaders/raytrace.rgen 1 addition, 1 deletionprojects/rtx/resources/shaders/raytrace.rgen
- projects/rtx/src/main.cpp 20 additions, 70 deletionsprojects/rtx/src/main.cpp
Loading
Please register or sign in to comment