Commit Graph

13 Commits (d4a9d729a000453b117d81f939b01b05b3042ea8)

Author SHA1 Message Date
Brett d4a9d729a0 Fixed issues with textures. Now completely working.
Also fixed bug with segfaulting on exit
2022-11-21 13:39:01 -05:00
Brett 763d57327f Added texture support. Currently broken.
There is something very wrong somewhere. More testing is needed.
2022-11-21 00:47:12 -05:00
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 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 7aea5ee8c4 BVH performance results in ods file 2022-11-16 17:34:17 -05:00
Brett e72fc15007 BVH now has a source file. 2022-11-16 16:15:08 -05:00
Brett c881b780ff Raytracer and Debug views now align 2022-11-15 16:23:37 -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 5e520e3849 Trying to fix the BVH. Investigate the depth check, seems like something is wrong with it. 2022-11-10 10:49:59 -05:00
Brett d8bade25a2 Trying to fix issue with project / view matrix 2022-10-31 00:51:51 -04:00
Brett 579511811e Working on mutlithreading, push fix for cmake 2022-10-23 23:46:12 -04:00