57 Commits

Author SHA1 Message Date
8dbff0ec75 Fixed March objects to reload on every change, and forced swapchain recreation on resize due to an issue on linux. Additonally, fixed printf errors 2025-03-31 13:00:33 -04:00
connellpaxton
f3fa22c3c5 Revived the project, it seems to be mostly functional right now in terms of load/unloading files of scenes. Not yet tested on linux. 2025-03-30 23:40:19 -04:00
Conál
a3efba825f Fixed loading 2024-02-16 15:39:57 -05:00
connellpaxton
faf97687a9 Started work on BSP loading, still debugging errors 2024-02-16 13:00:35 -05:00
connellpaxton
f84f9d996e Cantor 2024-02-11 10:34:08 -05:00
connellpaxton
13fff8cfad Added object system using SSBOs 2024-02-10 17:40:56 -05:00
Conál
d945f49fca Okay, figured out input, for real this time 2024-02-08 23:32:51 -05:00
Conál
df334c3941 Got mouse and keyboard movement working -- I think 2024-02-07 10:39:07 -05:00
connellpaxton
5df7032caa Created raymarching branch 2024-02-06 15:40:50 -05:00
connellpaxton
caff659c1f Nicer initial values for various uniforms (camera pos, tessellation, etc) 2024-02-06 12:14:19 -05:00
connellpaxton
d18195fb91 unfocused camera light!!!! 2024-02-06 11:58:49 -05:00
connellpaxton
dfd0c57c59 Fixed normal generation (for real this time).
Issue was in sampling texture on the CPU side.
2024-02-06 11:31:29 -05:00
connellpaxton
90d04c2d9f Fixed normal generation (forgot to properly bump scale). 2024-02-06 08:50:16 -05:00
connellpaxton
eeb923067f Introduced frustum culling, learned how to correctly spell frustum 2024-02-06 08:26:24 -05:00
connellpaxton
7fd68abcf9 Fixed it!
Holy shit all it was really was performing a computation without assigning the result (x *= n instead of x * n).
2024-02-05 23:32:54 -05:00
Conál
82f0785cae Fixed uniform buffer padding issue, still dealing with tesselation error 2024-02-05 13:21:25 -05:00
Conál
9582baf2d2 Fixed index generation issue, debugging tessellation issue 2024-02-05 12:26:00 -05:00
Conál
8e2559cf26 Some unidentified vertex or index generation error 2024-02-05 11:50:58 -05:00
connellpaxton
a778a406d0 First part of terrain generation (hopefully) done, next part is to make the tesselation shaders 2024-02-05 07:53:37 -05:00
connellpaxton
6870cb61f9 Lambertian model 2024-02-04 14:30:03 -05:00
connellpaxton
8ebae9b362 Started experimenting with lighting and pipelines for per-fragment lighting. 2024-02-03 13:59:36 -05:00
connellpaxton
48a3749bd5 Fixed timing 2024-02-01 11:54:18 -05:00
connellpaxton
b6cf6c08c3 Created working geometry shader 2024-01-31 16:44:45 -05:00
connellpaxton
703fe88fa6 Cleaned up input with IMGUI while using mouse look 2024-01-30 16:20:07 -05:00
Conál
6d353814fc Cursors now works! 2024-01-30 13:56:07 -05:00
connellpaxton
ef90718135 Created a working camera controlled by the UI, next step is to incorporate Input class and have it be mouse/keyboard controlled 2024-01-30 10:40:21 -05:00
connellpaxton
538d3a7dcb made a model overload for cmd->bind(), added FPS counter to screen 2024-01-30 08:50:11 -05:00
connellpaxton
33c783fcc4 Added IMGUI, slightly changed logging to deal with ERROR and DEBUG being popular macro definitions. 2024-01-29 16:21:15 -05:00
Conál
c3d27c5c86 Fixed glTF loading around norms and tex coordinates 2024-01-29 12:19:21 -05:00
Conál
c0d6d07e7e DRAGON TIME MF'ERS (glTF loaded) 2024-01-29 11:23:12 -05:00
connellpaxton
ef1bceb388 Texture creation and binding works! 2024-01-28 12:30:42 -05:00
Conál
4012425d35 Made small ray tracer with a sphere to test fragment shading and uniform buffers 2024-01-28 10:01:39 -05:00
Conál
a76cbb46c3 Fixed annoying bug in build system, and removed binary file from repository tree 2024-01-26 15:45:48 -05:00
connellpaxton
063f908d60 Fixed really annoying colorblend issue caused by me setting two greens and no blues in my colorwritemask 2024-01-26 14:51:41 -05:00
connellpaxton
c4c796c98e Fixed pipeline and shaders.
Can now view 3D objects
2024-01-26 14:14:25 -05:00
Conál
15dc595753 Fixed viewport swankiness by reversing the culling order 2024-01-26 11:28:22 -05:00
connellpaxton
764044b01e First attempt at negative viewport, its not quite working for some reason (yet) 2024-01-26 10:52:20 -05:00
connellpaxton
bd7f1ed4d3 Pipeline and shader execution is confirmed working.
Next step is to figure out how to fix the viewport to behave like I want it to.
2024-01-26 00:41:43 -05:00
connellpaxton
5342906098 Resolved conflicts across devices 2024-01-25 23:51:01 -05:00
Conál
c8efb2fa5d Fixed memory allocation issue caused by return of wrong value in choose_heap 2024-01-25 23:49:20 -05:00
Conál
1ded230ffb Fixed lacking <memory> that windows keeps letting me get away with, need to fix memory being mapped without hostvisibile bit set, not sure where thats coming from 2024-01-25 20:44:13 -05:00
connellpaxton
9ffe7c14de Fixed all validation errors on Windows machine. 2024-01-25 20:33:45 -05:00
connellpaxton
c9e2877530 Added shader compilation to build process
Created mechanism to construct pipelines, still need to finish debugging that.
2024-01-25 17:07:47 -05:00
connellpaxton
e1c7f2d80a Introduced temporary solution to window minimization. 2024-01-23 16:08:29 -05:00
Conál
0bd5a1780a Fixed linux build issue caused by ommision of <memory> header 2024-01-23 16:03:00 -05:00
connellpaxton
e077eeaf5d Added class to handle allocation and creation of Buffers and Image, as well as Timers.
No memory leaks detected yet.
(Fingers crossed).
2024-01-23 16:00:15 -05:00
connellpaxton
952176f4c9 Added file utilities, began work on texture loading.
After that, it will be time to begin graphics pipeline construction
2024-01-22 18:09:11 -05:00
Conál
b1bb57ac96 Fixed issue with minimum number of images in swapchain creation 2024-01-22 16:02:31 -05:00
connellpaxton
9c514b658a Fixed resizing, moved depth image to swapchain create cycle.
Also acheived (surface) format selection.
2024-01-22 13:51:19 -05:00
Conál
593eec8b8e Added DEBUG mode to logging 2024-01-22 09:46:43 -05:00