Jarrod Doyle
|
7c9696c6f1
|
Replace usage of hardcoded block dimensions
|
2024-04-13 21:33:26 +01:00 |
Jarrod Doyle
|
9fc4594b9a
|
Experiment with using ndarray to represent chunk voxels
|
2024-04-13 21:25:27 +01:00 |
Jarrod Doyle
|
35ea139097
|
Initial chunk region get
|
2024-04-13 14:59:48 +01:00 |
Jarrod Doyle
|
d9a053ea5a
|
Chunks now know their dimensions and block dimensions can be defined
|
2024-04-06 11:45:58 +01:00 |
Jarrod Doyle
|
0c39a2591b
|
Start separating out world generation
|
2024-04-06 10:44:07 +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
|
2bba6c8476
|
Make brickmap struct private
|
2024-03-29 09:16:29 +00:00 |
Jarrod Doyle
|
4a5c142625
|
Rename brickmap unpack element
|
2024-03-29 09:15:19 +00:00 |
Jarrod Doyle
|
a6d89fb2e5
|
Remove unused code
|
2024-03-25 16:32:23 +00:00 |
Jarrod Doyle
|
0200d876b1
|
Tidy up brickmap request handling
|
2024-03-25 16:29:58 +00:00 |
Jarrod Doyle
|
956fdd180f
|
Remove unnecessary cast
|
2024-03-25 15:42:59 +00:00 |
Jarrod Doyle
|
511e4b9233
|
Move Brickmap definition to brickmap_cache
|
2024-03-25 15:40:27 +00:00 |
Jarrod Doyle
|
77b3e5172b
|
Move brickmap cache staging and uploading
|
2024-03-25 15:36:42 +00:00 |
Jarrod Doyle
|
c26f3c8ffb
|
Extract brickgrid to module
|
2024-03-25 13:59:24 +00:00 |
Jarrod Doyle
|
03a74d1b02
|
Merge voxel renderer implementation blocks
|
2024-03-23 16:29:25 +00:00 |
Jarrod Doyle
|
5acea1192c
|
Fix incorrect brickmap unloading (I think)
|
2024-03-23 15:19:11 +00:00 |
Jarrod Doyle
|
e6d73686b4
|
Extract brickmap cache to own module
|
2024-03-23 15:00:01 +00:00 |
Jarrod Doyle
|
60381c6a58
|
Extract util functions
|
2024-03-23 14:56:32 +00:00 |
Jarrod Doyle
|
8e08506e6c
|
Split brickmap cache to it's own struct
|
2024-03-23 14:53:37 +00:00 |
Jarrod Doyle
|
66f44c5461
|
Refactor upload_unpack_buffers
|
2024-03-23 12:31:20 +00:00 |
Jarrod Doyle
|
23ea18c3de
|
Extract handling of requested brickmap to method
|
2024-03-23 11:20:31 +00:00 |
Jarrod Doyle
|
ba973a7306
|
Reorder feedback buffer processing logic
|
2024-03-23 11:06:21 +00:00 |
Jarrod Doyle
|
cbc95df5cb
|
Use buffer extension trait to get feedback buffer
|
2024-03-23 10:56:21 +00:00 |
Jarrod Doyle
|
f5c503a3aa
|
Add buffer extension trait
|
2024-03-23 10:55:54 +00:00 |
Jarrod Doyle
|
132bc99540
|
Move shading table to own module
|
2024-03-23 10:28:24 +00:00 |
Jarrod Doyle
|
10f3950e8d
|
Begin separating brickmap into brickworld module
|
2024-03-23 10:25:42 +00: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
|
6c5e37b02f
|
Don't consume window resize events in context
|
2023-10-20 12:15:14 +01: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
|
8c53a2d7b7
|
Add window surface resizing function
|
2023-10-20 11:05:38 +01:00 |
Jarrod Doyle
|
ae298d8ca2
|
Give render context ownership of the window
|
2023-10-20 11:04:59 +01:00 |
Jarrod Doyle
|
13fad676ad
|
Remove unused import and variable
|
2023-09-08 16:02:26 +01:00 |
Jarrod Doyle
|
a5ec013001
|
Add uninitialised buffer support to builder
Also uses this support in brickmap
|
2023-09-08 16:00:11 +01:00 |
Jarrod Doyle
|
6706d58016
|
Remove uneccesary mut
|
2023-09-08 15:40:46 +01:00 |
Jarrod Doyle
|
2e7c82c03d
|
Remove unused import
|
2023-09-08 15:40:19 +01:00 |
Jarrod Doyle
|
e85023858c
|
Rename bufferbuilder usage setter
|
2023-09-08 15:39:05 +01:00 |
Jarrod Doyle
|
d2de478096
|
Use buffer builder in brickmap
|
2023-09-08 15:37:46 +01:00 |
Jarrod Doyle
|
017883e205
|
Add a bulk buffer building helper
|
2023-09-08 15:32:14 +01:00 |