Commit Graph

6 Commits

Author SHA1 Message Date
6e32539435 Depth buffering 2024-05-16 03:43:05 -05:00
29b7e4b50b Added Camera
Set up uniform buffers for the camera. The camera still lacks a proper
controller on the lisp side, but you can create the matrix data in lisp.
The projection matrices use the "reverse-z" trick. When setting up depth
buffering in the (near) future, this needs to be considered.
2024-05-15 23:04:51 -05:00
207de345f7 Window events, math, and asdf
Window resize events are now sent from the renderer to lisp.
On the lisp side, some math code has been written, but not yet
integrated into the project.
2024-05-13 19:05:28 -05:00
1ec76f56c8 Instancing
The renderer now allows instancing. The way this works is by having to
vertex buffers. One contains the normal vertex geometry data, the other
contains per-instance data.
2024-05-09 16:39:50 -05:00
583a6e67b3 Hello quad program
The Vulkan renderer now has a mesh structure which utilizes vertex, index,
and staging buffers. On the lisp side, you can now provide a vertex type
when creating a pipeline and the appropriate vertex data when creating
the mesh. Meshes are associated with pipelines.

Currently there is one vertex type: pos2color3, which will
likely be modified and replaced. There is no instanced rendering yet,
so drawing a pipeline just involves drawing every mesh associated with
that pipeline.
2024-05-06 11:28:01 -05:00
d076c9673d Hello Triangle program with Vulkan
The Vulkan bits are written in C. Then in common lisp you talk to the
renderer. On the common lisp side, the program was made to allow
interaction with the REPL while the game runs. Vertex buffers have not
been implemented yet, the Vulkan stuff is currently barebones.
2024-05-03 12:01:33 -05:00