Commit Graph

141 Commits

Author SHA1 Message Date
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 a0df8d2bfc
Implement Debug for Texture and TextureBuilder 2023-04-24 13:50:22 +01:00
Jarrod Doyle 057d849e24
Make CameraController public 2023-04-24 13:47:59 +01:00
Jarrod Doyle 55b79f0b39
Fix voxel sphere offset 2023-04-24 09:49:07 +01:00
Jarrod Doyle 230024ac63
Move app and camera to core module 2023-04-24 09:28:33 +01:00
Jarrod Doyle a94932836f
Moved renderer to render module 2023-04-24 09:24:22 +01:00
Jarrod Doyle 40cdd5766d
Merge branch 'renderer-refactor' 2023-04-23 10:26:45 +01:00
Jarrod Doyle bbc43b53fd
Remove unused imports 2023-04-23 09:56:48 +01:00
Jarrod Doyle 4f8602c48e
Move camera out of renderer 2023-04-21 12:53:42 +01:00
Jarrod Doyle c6932e6646
Use bind group and bind group layout builders 2023-04-21 12:29:46 +01:00
Jarrod Doyle 20aeaa304d
Add bind group and bind group layout builders 2023-04-21 12:29:45 +01:00
Jarrod Doyle b73d9b8f2b
Clamp camera pitch between -85 and 85 degrees 2023-04-21 12:29:45 +01:00
Jarrod Doyle 4f4f3bced1
Clamp camera pitch between -85 and 85 degrees 2023-04-21 10:14:05 +01:00
Jarrod Doyle fddb07d51e
Move texture and context structures to new Render module 2023-04-18 21:57:28 +01:00
Jarrod Doyle 9554f3ba7f
Integrate camera system 2023-04-18 17:06:59 +01:00
Jarrod Doyle 1d26c78b3e
Add simple camera system 2023-04-18 17:06:33 +01:00
Jarrod Doyle 64b0c9d308
Added frame delta time calculation 2023-04-18 17:04:55 +01:00
Jarrod Doyle 528f866311
Add vscode debug launch configurations 2023-04-18 11:04:40 +01:00
Jarrod Doyle 519111d744
Delete old shadertoy based branchless dda shader 2023-04-18 10:56:46 +01:00
Jarrod Doyle 892747d6c4
Begin using the voxel volume shader 2023-04-18 10:56:17 +01:00
Jarrod Doyle c44f32bf8d
Add a voxel volume shader 2023-04-18 10:55:48 +01:00
Jarrod Doyle 900f9f0cea
Add glam to project 2023-04-18 10:54:22 +01:00
Jarrod Doyle 7d29cdf86a
Texture views take dimension from texture dimension 2023-04-18 10:42:11 +01:00
Jarrod Doyle e13aab1808
Use the voxel raycast shader 2023-04-08 21:54:20 +01:00
Jarrod Doyle 33f3aae349
Add a simple voxel raycast compute shader 2023-04-08 21:54:20 +01:00
Jarrod Doyle 2887a0a0af
Use compute shader to change texture 2023-04-08 21:54:20 +01:00
Jarrod Doyle 5ad6b4dc1c
Add a simple texture color change compute shader 2023-04-08 21:54:20 +01:00
Jarrod Doyle 94ade95743
Add shader stage visibility and texture usage to TextureBuilder 2023-04-08 21:54:20 +01:00
Jarrod Doyle 9cf17a8066
Update shader and renderer to use a dummy render texture 2023-04-08 21:54:20 +01:00
Jarrod Doyle 34da4bf0fc
Add texture bind group generation 2023-04-08 21:54:19 +01:00
Jarrod Doyle b391d04a91
Add WGPU Texture wrapper 2023-04-08 21:54:19 +01:00
Jarrod Doyle a9e0547f5a
Rename AppWindow to App 2023-04-08 21:54:19 +01:00
Jarrod Doyle 54005f7c0a
Use lld for faster linking during build 2023-04-08 21:54:19 +01:00
Jarrod Doyle 3e001a930f
Use new RenderCtx and Renderer structs 2023-04-08 21:54:19 +01:00
Jarrod Doyle 6a9335089b
Create RenderContext and Renderer structs 2023-04-08 21:54:19 +01:00
Jarrod Doyle 1b0e1f4bce
Add basic vertex and fragment shader 2023-04-08 21:54:19 +01:00
Jarrod Doyle fa9b8dd855
Basic window creation 2023-04-08 21:54:18 +01:00
Jarrod Doyle fcdcb4c34a
Create Rust project 2023-04-08 21:54:18 +01:00
Jayrude 1991328b68
Initial commit 2023-04-08 21:53:32 +01:00