Commit Graph

10 Commits (6133c698e386a479fc8410661fd443a7b0dbf2c0)

Author SHA1 Message Date
Brett 5308cacd23 Added the ability to recusively load shader files
include statements are the only form of file chaining supported.
define statements can now be replaced at load time with global variable.
2022-11-20 13:07:45 -05:00
Brett 40ce59284c Triangle BVH currently broken.
Working on the debug ui for it but it is also broken
2022-11-19 12:54:45 -05:00
Brett 17c7942405 Fixed AABB Sizing issue.
Fixed is a strong word. TODO: I have solved the problem by using isEmpty to tell when it's a fresh AABB
and just returing the passed AABB as the new expanded AABB. This feels lazy and I expect it'll cause issues in the future.
Plus it isn't truely correct and the context which uses it could just use the first obj AABB since there is only 1 object
2022-11-15 00:53:21 -05:00
Brett a28d49b132 Raytracing camera now losely follows the debug camera
Differences in Viewport size change how the scene is rendered but the position and rotation of the camera is close enough.
2022-11-14 20:44:49 -05:00
Brett 7a09800c40 BVH Cleanup / Changes.
Working on fixing issues with the BVH implementation.
Commiting a working changes version. Code has been cleaned up considerably.
A proper code review is nessacary in the near future.
2022-11-13 13:03:48 -05:00
Brett 3ede43d3e0 Remove GLM 2022-11-13 02:15:12 -05:00
Brett 1c11a1f9d9 Fixed issue with the projection matrix. View matrix is still a little iffy
Currently it appears that the view matrix is rotating the world
and look at pos view matrix is producing incorrect results. appears as if the height is inverted.
2022-11-07 00:29:12 -05:00
Brett d8bade25a2 Trying to fix issue with project / view matrix 2022-10-31 00:51:51 -04:00
Brett 422e946bd0 Working on graphics 2022-10-24 00:40:31 -04:00
Brett 579511811e Working on mutlithreading, push fix for cmake 2022-10-23 23:46:12 -04:00