Commit Graph

40 Commits

Author SHA1 Message Date
581656568b Debug options: Stop moving light, camera and cubes.
F1 to have free camera
2026-02-23 22:05:46 -05:00
3277624ec2 Support lighting using a graphics buffer that is kep open! 2026-02-23 19:24:57 -05:00
1056301981 Fix some errors with meshrenderer moving to engine that gemini didnt have time to fix
Will have to resync how to load more meshes. Probably need a command to do it but for now not needed.
2026-02-22 17:47:46 -05:00
932c45d844 New skyboxrenderer + moved meshrenderer inside engine and out from main to clean that up 2026-02-22 17:16:21 -05:00
a781facd48 Factorized Push Data 2026-02-22 15:54:09 -05:00
816fdc27b1 Fixed the weird stutter and added fps in title bar 2026-02-22 12:22:06 -05:00
b38cc5e3d5 Fix release 2026-02-22 12:08:03 -05:00
431015f009 Added rotation functions for matrix 2026-02-22 11:24:59 -05:00
a7947bfa17 Made MeshRenderer able to take a matrix transform for each mesh, and we are now able to draw 100 cubes.
Claude OPus helpes with implementation
2026-02-21 23:27:27 -05:00
8e83cd32f6 Fixed MeshRenderer, our cube is now totally drawn by mesh renderer ! 2026-02-21 22:45:20 -05:00
49fc0a24d1 Meshrenderer first step. Adding logs to debug a weird crash since the add of mesh renderer and some clean up. 2026-02-21 14:04:02 -05:00
762cfe52cf Fix autoclose command + condition to pause the console only if no debugger and no autoclose 2026-02-16 11:14:21 -05:00
b6e9d95552 misc change 2026-02-16 10:38:02 -05:00
87831d0fd6 Added basic concept of Mesh
Right now can create a quad or a cube.
Need a mesh renderer taht keep the buffer and all to optimally handle the mega buffer.
2026-02-15 17:44:48 -05:00
38f8662d80 Fixing some VectorArena to use external arena and reduce the number of alloc.
Made the passing of name to arena more flexible
2026-02-14 22:28:32 -05:00
dfd7279e84 Fix build error in release 2026-02-14 18:12:19 -05:00
5a22a172a6 Removed the old Memory Arena and converted all to the new one 2026-02-14 18:09:47 -05:00
45ef1134f7 Updating memory arena by hand because Gemini did something weird.
Added some os functions for memory handling.
Starting conversion to memory arena
2026-01-31 23:20:26 -05:00
d4e4229d61 Fixing the D3D12DescriptorHeap.cpp memory leak. Was creating descriptor heap every time a pipeline was bound when we only need it once per commandlist.
fixed some vibe code weird shit
2026-01-23 21:43:48 -05:00
c10d371836 Cleaned up memory arena debugger + tag.
WIP
2026-01-21 20:36:38 -05:00
891c404889 Added debug renderer + imgui renderer
All code made by gemini with some help
2026-01-20 22:46:10 -05:00
f95ba51c13 Added a basic MemoryArena.
Added one scratch, one engine and one game arena.
Converted the game alloc to arena + the display stuff.
WIP

Made using Antigravity+gemini
2026-01-17 21:09:23 -05:00
bfd042abbf Added:
- Depth buffer
- Debug display basics
- Basic vector + matrix maths
Made partially with gemini + antigravity
2026-01-11 22:07:38 -05:00
8a23ae72fe Part generated by gemini with antigravity.
Converted to bindless first step
2026-01-11 17:54:57 -05:00
9510951aee Final port to fastbuild.
Support update of game.dll separately
Made some alias and stuff
still remains the shader compiler to add to the solution.
Solution is also generated by fbuild (nice)
2026-01-08 16:26:01 -05:00
1137466472 Fastbuild all work for static linking
Need : Dll for game and lib to do hot reload
Need : static for release only
Way to compile only julietapp only shader app, only juliet.dll and game.dll
2026-01-07 19:46:12 -05:00
f4c82f0fb3 Added support to DirectX Agility Sdk to enable shader model 6.6+ on windows 10. 2025-03-22 00:09:48 -04:00
f4ba25bec1 Reload of shaders working! 2025-03-15 21:17:44 -04:00
c9cd01bb31 Prepare shader reload.
- Expose wait until gpus is idle to api
- Alt+R to reload
2025-03-15 19:55:41 -04:00
f01c8c3ccb Added missing functions to allow wait for swap chain.
Proper resource tracking to allow for destruction of graphics pipeline
Textures are tracked but not released so nothing has been done yet
various changes
2025-03-13 23:07:01 -04:00
84e1194f21 Draw triangle 2025-03-11 23:36:37 -04:00
0d93cd9e6d Graphics pipeline creation is working 2025-03-11 22:45:21 -04:00
a9fe4683fb Graphics pipeline iteration
Lot of code.
Not working yet
2025-03-09 22:52:08 -04:00
aae780ec6d First pass graphics pipeline. Not functional 2025-03-09 16:54:26 -04:00
8c6c42e123 Shader: Added code to load compiled shader 2025-03-09 15:54:13 -04:00
da203c80f3 Finished first version of shader compiler. HLSL -> DXIL.
Submitting vertex and frag shader needed to display a triangle.
2025-03-08 22:36:15 -05:00
764824ff24 Making string struct a bit more simple and support only utf8.
Still just ascii for now but a bit easier to manager.
Use [..]A() functions from win api to not have to convert to wide char everywhere
2025-03-05 15:56:56 -05:00
09dc26ae79 Adding IOStream + String library (needed to have proper iostream) 2025-03-01 21:17:10 -05:00
67528aaee1 - Various clang reformat
- Added shader compiler app (doing nothing)
- Various Project files changes
2025-03-01 11:01:42 -05:00
051939f827 - Added basic filesystem method to get the base path of the app
- Added hot reload support of the game dll
- various changes and refactor
2025-02-23 20:37:44 -05:00