Commit Graph

132 Commits

Author SHA1 Message Date
94ce7be618 even more inane code cleanup, migrated immediate mode debug draw into its own file, added transform flattening pre/post physics step (for two reasons) 2026-05-26 22:08:16 -05:00
0a92fed14a attempt at generating a ragdoll from a skinned mesh (doesn't work right now), fixed normal mapping 2026-05-24 22:23:41 -05:00
6deb8795c5 even more inane code cleanup, more lua bindings, multiple bodies for an entity (doesn't work?), ragdoll (doesn't work) 2026-05-22 20:19:28 -05:00
40157df205 even more inane cleanup, and even more constraints 2026-05-22 00:02:37 -05:00
7bd4b00514 NGS position solver fixed because of a pesky minus sign 2026-05-20 22:32:34 -05:00
9097aebc92 lots of physics cleanup and fixes (split-impulse performs better than a NGS position correction somehow?) 2026-05-20 20:59:47 -05:00
098281ad81 removed PGS solver since it is the iterative impulse solver, fixed returning problem of boxes sinking, some other things 2026-05-20 15:02:29 -05:00
437df59459 more cleanup (physics seem to /almost/ work without issues) 2026-05-19 22:25:22 -05:00
f054874fed generate proper-ish contacts for triangleAabb/triangleObb, code cleanup 2026-05-19 15:01:38 -05:00
a1f62ef0c3 added forward+ rendermode, added debug draw for physics system (revealed my meshAabb/neshObb ocntact points were wrong) 2026-05-18 21:11:42 -05:00
6b07173804 added OBB colliders, painfully trying to resolve issues with rotating bodies 2026-05-16 23:19:49 -05:00
142f584684 fixed odd regression where door collision broke (and trying to fix the weird flickering with using the aliased camera UBO for the deferred pass) 2026-05-15 20:37:10 -05:00
07f2a7d17b unneeded now (and this somehow caused vxgi to double-light up the voxels from constantly re-recording) 2026-05-15 14:30:50 -05:00
f132f5d6d2 refractored descriptor sets to properly handle multiple sets for a given shader 2026-05-15 14:18:50 -05:00
e35806bb04 painfully diagnosed a performance hit with vxgi from one line being commented out (and a bug from eyepos being wrong) 2026-05-14 22:00:17 -05:00
2afcacc9e1 fixed BARYCENTRIC_CALCULATE because it was actually stemming from not using the actual camera UBO used to render the scene (even though nsight showed the values matching so who knows) 2026-05-13 23:43:21 -05:00
b3df72bfab validation errors squishing, finally bothered to seamlessly handle N-buffered UBOs, fixed shadowmapping not require a constant rebuild every time the lights changed (by instead binding all shadow textures and not-so-clever tricks), some other things 2026-05-13 22:14:46 -05:00
226f1fb77e vxgi fixed (because of a typo) 2026-05-12 09:59:49 -05:00
2475605941 VK_KHR_multiview support (but it broke VXGI) 2026-05-11 20:56:16 -05:00
2e018962ee fixed shadowmaps 2026-05-11 16:41:57 -05:00
5f5bc08068 proper descriptor pooling (prerequisite for properly segregating pipelines as shareable and descriptor sets as not) 2026-05-09 14:02:15 -05:00
a10ed8bc60 alleged optimizations to vxgi (maybe), fixed crash with enabling shadowmapped lights (but they're broken still for some reason) 2026-05-08 21:09:22 -05:00
682dd2c794 vxgi optimizations (to-do: fix the stuttering again from the UBO lagging or something) 2026-05-06 20:47:54 -05:00
ec2122ab12 sanity fixes for gltf conversion (and LOD generation), (mostly) repaired streaming in mesh data (barycentric-deferred rendering would desync because of separated indirection buffers), streamed in mesh data picks the correct LOD (mostly working), squashed hidden bug where meshes were constantly destroying/creating the physics mesh and updating buffers 2026-05-05 19:48:18 -05:00
a145bae065 updates to imgui integration (added thread metrics, moved things to a behavior, fixed bug i dont remember existing where imgui doesn't render for new scenes because it doesnt rebind to the new gui mode 2026-05-05 14:54:34 -05:00
f0d552c47b the other thing I was working on (main thread metrics) 2026-05-04 21:49:29 -05:00
89ca3efb3e rewrote meshopt (again) to actually perform vertex optimizations, and fixed LOD generation), fixed LOD level calculation (because Vulkan's -Y ruined things), some tweaks and fixes to the memory pool / allocator (it will still segfault on termination because of how things are ordered) 2026-05-04 21:14:04 -05:00
60527c4e6b more physics fixes (somewhat finished hulls, gravity-related jitter-bounces from position correction (removed it), fixed BVH bugs, islands/bodies always being awake, refit/rebuild strategies, non-flattened BVHs not working, spheres not rolling, etc) 2026-04-30 22:44:32 -05:00
3965d3f719 cleaned up GUI system ((re)added simple anchoring system, although I need to actually utilize it), fixed SDFs looking like shit 2026-04-28 22:56:10 -05:00
84f2b63a8f revamped meshopt-based mesh optimizations, fixed mesh slicer/gridder, added LOD system (i think it works), physics tweaks (to-do: make meshMesh viable) 2026-04-27 17:09:26 -05:00
fc36c77167 physics fixes 2026-04-26 20:27:14 -05:00
2c3da15a4d fake frames (and cleaning up swapchain code) 2026-04-25 00:37:19 -05:00
8803034a60 added frame-gen via FFX-SDK (naively) 2026-04-24 00:18:59 -05:00
a6c74572c6 a shoddy depth-of-field effect, repaired FFX-FSR integration (and upgraded to FFX-FSR3.1 upscale) 2026-04-22 22:37:37 -05:00
6d05ab865a neurotic optimizations (overhauled depth pyramid and bloom to ffx-sdp), more fixes 2026-04-21 20:49:47 -05:00
fd9036ee39 repaired occlusion culling via depth pyramids 2026-04-20 23:40:55 -05:00
42aaf444ff lots of changes (physics tweaks, actually use dynamic buffers for UBOs, perf bottleneck fixed, bug fixes, etc) 2026-04-20 17:33:22 -05:00
012cddd37f more fixes before I lose my mind again (something something making VXGI look actually nice, correctness, fixing graphs, etc etc) 2026-02-21 21:26:37 -06:00
de44a6083d fixes 2026-02-16 18:10:36 -06:00
593bdc93cd physics optimizations (lots...) 2025-09-02 21:51:00 -05:00
a66f56ad9f refractor to try and minimize differences between reactphysics and internal physics engine (that i really need to optimize now), reverted some things with the graph system to get it to work again on scenes with more than one mesh (because for some reason instance IDs need to be global and i cant for the life of me figure out how to properly remap them) 2025-09-01 23:16:43 -05:00
65cf3887b7 finally nailed a memory leak because past me made assumptions RP3D cleared the triangle parts on body destruction per the documentation (although I still crash after a while on the DC build from fragmentation at 9MiB consumed......), crammed filetype preference to resolveURI since everything should be using that anyways, some other cruft I forget trying to nail down this memory leak 2025-08-24 20:47:32 -05:00
532c4054b6 audio cleanup or something (because it's lagging the dreamcast build when emitting sounds) 2025-08-24 11:38:37 -05:00
9f2f51c644 before overhauling the graph system to not depend on pod::Graph 2025-08-20 22:13:23 -05:00
e5de1491f2 skip rendering the next frame under vulkan, as this fixes the crash on scene load when the scene graph storage buffers need to be resized (even though nothing makes sense) 2025-08-20 15:22:35 -05:00
81a3125fcd fixed graph buffers not getting updated (for opengl, vulkan still crashes...) 2025-08-19 23:36:48 -05:00
8298fcec2d more cleanup, crammed DC texconv into here for later use 2025-08-18 20:47:25 -05:00
0a299a3fd2 removing unused dependencies, noted quirks with Dreamcast compilation 2025-08-17 17:53:10 -05:00
bc406d5b62 agony (added streaming in mesh data if it's out of range (but for the worldspawn only), re-enabled mesh slicing because I commented it out months ago and didn't remember why, some other things probably in the quest of getting this added) 2025-08-13 19:46:05 -05:00
cf9a4c9a9d some more cleanup, use march=native + lto for dev (non-release), only do mesh quantization when available (when using my GLdc fork), removed unused headers 2025-08-10 20:29:40 -05:00