noah metz
|
2e0de3cc93
|
Moved object creation to separate functions
|
2024-01-10 18:01:54 -07:00 |
noah metz
|
bf083380d7
|
Cleanup
|
2024-01-10 17:50:19 -07:00 |
noah metz
|
f280041d0b
|
Moved scene descriptor creation to SceneContext struct
|
2024-01-10 17:18:07 -07:00 |
noah metz
|
f8b6b8e8f2
|
Run both pipelines in the render pass
|
2024-01-10 16:27:21 -07:00 |
noah metz
|
406d2faf4c
|
updated default values
|
2024-01-10 13:30:15 -07:00 |
noah metz
|
9bfd2fab57
|
Added example of using the ATTRIBUTE_ID_POSITION to update a UBO for a pipeline. Messy af and need to find a way to organize it so it makes sense.
|
2024-01-10 13:19:41 -07:00 |
noah metz
|
9ae776a5e2
|
Refactoring
|
2024-01-10 11:31:32 -07:00 |
noah metz
|
b16d7a1ebf
|
Added MapIterator and started moving towards rendering objects by iterating through a list of mappings in the material to update descriptors
|
2024-01-10 11:27:04 -07:00 |
noah metz
|
5222f35823
|
Fixed resizing
|
2024-01-09 23:19:04 -07:00 |
noah metz
|
86f9f9b911
|
Fixed crash, it was because without material descriptor set in the layout I was trying to bind to index 2 with only 2 sets
|
2024-01-09 23:06:08 -07:00 |
noah metz
|
c337e0f728
|
Added descriptor attribute for object descriptor set. Crash is currently due to the descriptors for the image being uninitialized.
|
2024-01-09 21:56:56 -07:00 |
noah metz
|
c02728c4f3
|
Made materials allocate a descriptor for each frame, and bind the descriptor on draw.
|
2024-01-09 21:28:57 -07:00 |
noah metz
|
ee57d5bc81
|
Added Map struct and methods to create/destroy/use it
|
2024-01-09 20:41:31 -07:00 |
noah metz
|
91d8ed6e3b
|
Cleaned up pipeline creation into structs(MeshType to describe Mesh buffers, and PipelineLayout to describe descriptor sets/PCRs(TODO))
|
2024-01-09 18:36:40 -07:00 |
noah metz
|
9ccfe3d0f7
|
Added depth image to context
|
2024-01-09 13:12:05 -07:00 |
noah metz
|
b9befc50a2
|
Made material/mesh descriptor bindings parameters of the material
|
2024-01-09 12:33:38 -07:00 |
noah metz
|
256980435e
|
Got rotations working with quaternions(probably more steps than necessary)
|
2024-01-09 10:32:22 -07:00 |
noah metz
|
fc68698ac7
|
Added buffer to image copy functions
|
2024-01-08 21:36:45 -07:00 |
noah metz
|
e5842f3ef5
|
Added textured material with per-vertex UV, but no texture images yet
|
2024-01-08 20:32:47 -07:00 |
noah metz
|
b603af2f89
|
Moved vertex bindings/attributes to parameters of create_material
|
2024-01-08 20:14:07 -07:00 |
noah metz
|
1df48f247e
|
Removed swapchain recreation from draw_frame
|
2024-01-08 19:50:45 -07:00 |
noah metz
|
3bb460d05c
|
Added swapchain recreation when out of date
|
2024-01-08 19:48:09 -07:00 |
noah metz
|
6906e4fc38
|
Move world position and rotation to function parameters instead of using globals directly
|
2024-01-08 17:55:50 -07:00 |
noah metz
|
62b6f55a14
|
More movement fixes
|
2024-01-08 17:50:24 -07:00 |
noah metz
|
199aa18d58
|
Fixed movement directions and perspective
|
2024-01-08 17:45:10 -07:00 |
noah metz
|
bcf3b92891
|
Added more movement
|
2024-01-08 17:37:52 -07:00 |
noah metz
|
04618af2fb
|
Moved scene UBO to a descriptor in the vulkan context. Need to figure out how to deal with materials that give out descriptors per loaded mesh.
|
2024-01-08 16:44:14 -07:00 |
noah metz
|
4b7a2b9d37
|
Moved graphics pipeline objects(aka layout, etc.) to Material struct
|
2024-01-08 15:23:23 -07:00 |
noah metz
|
52db4fca28
|
Added some animation with UBO
|
2024-01-08 13:10:54 -07:00 |
noah metz
|
0a01cbc776
|
Reorganized to have mesh pipeline instead of triangle pipeline
|
2024-01-08 13:04:45 -07:00 |
noah metz
|
c74daec6bd
|
Added UBO for shader matrices
|
2024-01-08 12:42:59 -07:00 |
noah metz
|
960f0b94ea
|
Added staged buffers and indexed triangle drawing
|
2024-01-08 11:59:58 -07:00 |
noah metz
|
4e2a8cf156
|
Updated to use vertex buffer for color/position of 2d vertices
|
2024-01-08 09:44:47 -07:00 |
noah metz
|
3e1cc2ce5a
|
Multiple frames in flight
|
2024-01-07 22:55:36 -07:00 |
noah metz
|
ef957ee059
|
First triangle
|
2024-01-07 22:27:53 -07:00 |
noah metz
|
9670362524
|
Added more setup(up to swapchain), and added dev/run to Makefile
|
2024-01-07 16:34:09 -07:00 |
noah metz
|
b97b377397
|
Fixed macOS build
|
2024-01-07 03:13:49 -07:00 |
noah metz
|
675480af21
|
Added more stuff
|
2024-01-07 03:04:12 -07:00 |
noah metz
|
d4582daae1
|
Initial commit of Makefile
|
2024-01-07 01:01:57 -07:00 |