84 Commits

Author SHA1 Message Date
connellpaxton
55c15cef4e allowed maxfps to be modified from the console. 2024-02-21 14:01:54 -05:00
connellpaxton
dc24036efb Shifted to console variables instead of commands, added frametime to allow for movement calculations later, and an adjustable fps cap 2024-02-21 14:00:39 -05:00
Conál
5ffdc17d79 Added some missed cleanup functions to plug a few memory leaks 2024-02-21 11:38:45 -05:00
connellpaxton
e85882df04 Added bounding box transparent meshes, restructured shader directory, added compiled shader objects to gitignore 2024-02-21 11:16:55 -05:00
Conál
a9e53cc4cb QoL improvement: made it so the mouse/keyboard isn't captured by ImGui unless in_menu is active 2024-02-21 00:20:31 -05:00
Conál
479722185f Changed picture, made console togglable (which drastically (doubled) improves framerate 2024-02-21 00:15:14 -05:00
connellpaxton
bc865c969d FIXED THE DAMN FRUSTUM CULLING (I forgot to swap y & z vertices in the bounding boxes).
More like frustratum culling, amirite?
2024-02-20 23:57:39 -05:00
Conál
dc8e5a5483 Added a simple visibility toggle command, fixed some bugs on linux 2024-02-20 15:57:38 -05:00
connellpaxton
b2de337c43 Replaced é with e since the fadda wouldn't render :( 2024-02-20 11:51:46 -05:00
connellpaxton
7f189b2ed6 Started transitioning from previous imgui panels to a developer console situation. Need to fix frustum culling or simply skip it. 2024-02-20 11:51:15 -05:00
connellpaxton
9d9d0044ee Fixed accidental redudant swizzle in visbility testing (coordinates were already transformed in the initial loading phase). 2024-02-19 22:51:00 -05:00
connellpaxton
f95c48bac6 Fixed rendering issues!
Turns out it was all just fustrum shit
2024-02-19 22:45:17 -05:00
connellpaxton
346038a8f7 Fixed rendering issues due to insufficent far plane. 2024-02-19 22:25:57 -05:00
connellpaxton
ff771ba127 Dealing with incredibly annoying issue in rendering the BSPs 2024-02-19 11:58:04 -05:00
connellpaxton
f2e78fbf76 Added color unpacking, still have really weird issues to iron out 2024-02-18 19:46:47 -05:00
connellpaxton
87fbb1c603 Got BSP loading to a visual state. Needs more testing to determine if culling/visibility testing was effective. 2024-02-18 19:29:32 -05:00
Conál
dfd39257c0 Fixed model 'vanilla' pipeline and shaders to work with updated uniform buffer 2024-02-16 20:47:42 -05:00
connellpaxton
c9a6f11a7a Updated Readme 2024-02-09 08:45:19 -05:00
connellpaxton
1ce25b26bd Added capture and features to readme 2024-02-09 08:44:40 -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
Conál
6c317c8ac3 Just made the light the location of the camera, gives nice vibes 2024-02-06 11:38:44 -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
connellpaxton
7aa5d04e4e small displacements 2024-02-05 13:53:37 -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
Conál
843899f8b9 Added pause 2024-02-01 11:13:43 -05:00
Conál
ca95c56e22 Fixed minor UI error 2024-01-31 16:48:22 -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
c64b7b4bde Created camera movement in the Input class, next step: cursor control 2024-01-30 11:41:47 -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
384c393e16 Updated CMake 2024-01-29 16:28:38 -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