Commit Graph

33 Commits

Author SHA1 Message Date
Jarrod Doyle d9a053ea5a
Chunks now know their dimensions and block dimensions can be defined 2024-04-06 11:45:58 +01:00
Jarrod Doyle 96fe40108b
Make renderer update more useful 2024-04-06 09:40:37 +01:00
Jarrod Doyle 8a4909dced
Start moving towards a generic voxel renderer implementation 2024-04-06 09:31:44 +01:00
Jarrod Doyle e5c06fa365
Rename brickworld module to brickmap 2024-04-06 09:27:39 +01:00
Jarrod Doyle ec8c0c2ccc
Move brickmap renderer into brickworld module 2024-04-06 09:19:24 +01:00
Jarrod Doyle c0a859b180
Move to mod.rs definitions for cleaner folder structure 2024-03-23 10:21:40 +00:00
Jarrod Doyle 015dec9133
Better error propagation 2024-03-23 10:18:38 +00:00
Jarrod Doyle 93a38db840
Remove commented code 2024-03-23 10:14:49 +00:00
Jarrod Doyle 5d463daa1e
Make things return errors where relevant 2024-03-23 10:14:18 +00:00
Jarrod Doyle 12e110744d
Remove unneeded unsafe. Fix unused result return 2024-03-22 12:01:12 +00:00
Jarrod Doyle 881de4e3b9
Fix errors with new versions 2024-03-22 11:59:32 +00:00
Jarrod Doyle 6e2762eb5c
Resize camera projection on window resize 2023-10-20 12:12:46 +01:00
Jarrod Doyle afb4e2d8d8
Remove unused imports 2023-10-20 12:05:28 +01:00
Jarrod Doyle 2a6bee18a6
Move more event handling to the render context 2023-10-20 11:37:24 +01:00
Jarrod Doyle 9a4bd5d1a0
Move some of the window event handling to the render context 2023-10-20 11:24:44 +01:00
Jarrod Doyle 7fd3897964
Resize the window surface when the window is resized 2023-10-20 11:15:11 +01:00
Jarrod Doyle ae298d8ca2
Give render context ownership of the window 2023-10-20 11:04:59 +01:00
Jarrod Doyle 1098c418f1
Rename render module to gfx 2023-09-08 14:33:33 +01:00
Jarrod Doyle e7eda73d98
Increase max buffer size 2023-07-27 19:12:24 +01:00
Jarrod Doyle 8d74443e17
Display more realtime framerate in title 2023-07-05 14:34:24 +01:00
Jarrod Doyle 604f11a40f
Implement Default for CameraUniform 2023-06-27 20:38:30 +01:00
Jarrod Doyle 5866d691f7
Restore 32^3 world chunk size 2023-06-27 20:32:08 +01:00
Jarrod Doyle f57bf565e4
Allow for arbitrary world chunk sizes 2023-06-27 20:20:25 +01:00
Jarrod Doyle 27b61c624d
Implement clippy suggestions 2023-06-26 15:10:31 +01:00
Jarrod Doyle 7e6746a8cd
Use new world generator 2023-05-09 17:33:46 +01:00
Jarrod Doyle 71d547cd62
Define device limits in App, and raise buffer size limits 2023-05-04 16:17:32 +01:00
Jarrod Doyle af0ab3bb66
Add basic CPU to GPU streaming system 2023-05-03 14:44:42 +01:00
Jarrod Doyle 63e1fd94bd
Simple framerate logging 2023-04-29 10:30:49 +01:00
Jarrod Doyle 6be2dd8054
Begin using basic brickmap. Doesn't include shading table 2023-04-24 17:17:56 +01:00
Jarrod Doyle 5914efaea8
Remove unused code 2023-04-24 14:01:36 +01:00
Jarrod Doyle 249ab27777
Make Renderer a trait and implement it for VoxelRenderer 2023-04-24 13:52:38 +01:00
Jarrod Doyle 057d849e24
Make CameraController public 2023-04-24 13:47:59 +01:00
Jarrod Doyle 230024ac63
Move app and camera to core module 2023-04-24 09:28:33 +01:00