Commit Graph

9 Commits (763d57327f5416032484968012f43cd9249b6917)

Author SHA1 Message Date
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 205946925b Slight Code refactor + misc changes
Objects in debug mode now are rendered based on their vao located in the world object.
(Meaning they will update positions / be added when you change / add objects to the world).
Cleaned up code, moved model related types from types.h to models.h.
	Ie triangle / face.
Added a tringualtedmodel to contain assembled triangles as to not carry around useless data
2022-11-17 00:31:26 -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 98e0efe28e BVH Debug Working + Input Bug Fix
Bounding Boxes are now drawn in debug mode. Some debugging is required as the box is slightly offset.
GLFW_REPEAT no longer causes keyReleased event.
2022-11-13 14:13:14 -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 9e533a86f6 Add ability to generate cube with the radius of individual axis.
VAO now takes in that generated cube alongside triangles.
2022-11-13 03:00:30 -05:00
Brett d8bade25a2 Trying to fix issue with project / view matrix 2022-10-31 00:51:51 -04:00
Brett 1e8914b4a5 added ability to pause / stop / restart raytracing. 2022-10-28 15:05:08 -04:00
Brett 2597a160f8 Working on fixing GL 2022-10-28 01:44:23 -04:00