Commit Graph

72 Commits

Author SHA1 Message Date
mars 17635f056e Update wgpu 2022-09-17 09:34:52 -06:00
mars 5f367c3108 Parallelize legion::draw_transformed_meshes() 2022-06-30 00:21:17 -06:00
mars f73f9c37f8 Remove unnecessary logging 2022-06-28 22:41:08 -06:00
mars 5198114a56 Add more puffin profile zones 2022-06-28 20:50:45 -06:00
mars 80f150a9f5 Make clear color black 2022-06-28 20:40:50 -06:00
mars 98b811b95a Add puffin into main crate and profile RenderPass calls 2022-05-30 17:56:42 -06:00
mars e6cdb5ebe8 cargo fmt main crate 2022-05-16 18:57:54 -06:00
mars 3606cabb53 STL loading and file dialogs 2022-05-15 23:29:34 -06:00
mars cffe12c930 Add Flycam::defocus() 2022-05-15 15:55:00 -06:00
mars 23234c2263 Create Flycam, pass to RenderState, and handle drags 2022-05-15 15:30:05 -06:00
mars 99633ea0be Add RenderCallbacks intermediate layer 2022-05-14 15:29:51 -06:00
mars 55b3979ea7 Add mountainous heightmap terrain 2022-05-12 17:49:32 -06:00
mars 50510e6946 Particle fountain 2022-05-12 13:35:59 -06:00
mars 8b80192347 Move predefined mesh attrs to dedicated struct 2022-05-12 08:42:33 -06:00
mars 5d0c977b5b Split TransformedMesh into components 2022-05-12 08:16:32 -06:00
mars 8f9b76fdaf Debug draw lists + legion systems 2022-05-11 14:48:10 -06:00
mars 718a26e464 Fix camera aspect ratio resizing 2022-05-11 13:10:46 -06:00
mars d44db2c05f Initial Legion support 2022-05-11 13:00:30 -06:00
mars 77e4b4dc4b WinitViewport supports multiple acquisitions 2022-05-11 12:59:39 -06:00
mars 048afe7e3e RenderPassBox Derefs to inner pass 2022-05-11 12:58:57 -06:00
mars 7e855f5a46 scene module + better trait/generic relationships 2022-05-11 09:30:01 -06:00
mars d05308e717 Rasterize skinned meshes 2022-05-09 14:02:42 -06:00
mars b06a8c7982 Use parking_lot sync primitives 2022-05-08 16:25:33 -06:00
mars ce22735180 Refactor into storage module 2022-05-08 15:52:48 -06:00
mars 30e7134415 Code cleanup 2022-05-08 15:42:30 -06:00
mars b291e7f82e Treat dynamic offset UBOs better 2022-05-08 15:33:00 -06:00
mars 1208be73bd LOTS of skinned meshes 2022-05-07 22:17:10 -06:00
mars aaa5ea4be0 Mesh compute skinning! (but no rasterizing yet) 2022-05-07 21:50:27 -06:00
mars fd12726efb Add GpuVec 2022-05-07 21:49:30 -06:00
mars ea3b065b28 Better record_compute() lifetimes 2022-05-07 21:49:08 -06:00
mars 0360873dc4 Add and record Skinning phase 2022-05-07 21:48:54 -06:00
mars 3e0a15079d Use PRIMARY wgpu backends only 2022-05-07 19:28:02 -06:00
mars 1c4a6538cb Use only skinning data for vertices 2022-05-07 18:57:31 -06:00
mars d0289774b7 Fix misprint of record_compute() during record_render() 2022-05-07 18:29:13 -06:00
mars 451f292605 Enhance shaders + include preprocessing 2022-05-05 06:24:30 -06:00
mars a3d808eb1b Better WGSL parsing errors 2022-05-05 03:08:35 -06:00
mars bc8426e37a Add ShaderLoader and materials/ 2022-04-27 21:14:58 -06:00
mars 39b2bd7f44 Add MeshPool TODO 2022-04-26 20:17:31 -06:00
mars 88333dd8bd Viewport trait + depth prepass 2022-04-24 20:44:51 -06:00
mars 47ab9cae65 Format camera.rs 2022-04-24 19:37:34 -06:00
mars 5c3dd5ebeb Add DebugPass 2022-04-23 19:57:27 -06:00
mars c6000ea979 Record overlay phase 2022-04-23 19:57:06 -06:00
mars cf4ff0e80e Enhance RenderPass usability 2022-04-23 00:37:43 -06:00
mars 4313ce8017 Add flycam 2022-04-22 21:42:33 -06:00
mars fa1620ddc0 Add FrameData and RenderLayouts 2022-04-19 17:43:52 -06:00
mars f590edb77f Render a triangle!
- Refactor `RenderPass` and `RenderPassBox` APIs
- Add basic `mesh_shader.wgsl`
- Decouple `MeshLayoutBindingIndices` from `MeshLayoutBindings`
- Create `MeshPass` render pipeline
- `MeshPass` creates an example mesh
- `MeshPass` flushes `MeshPool`
- `MeshPass` actually draws meshes
2022-04-19 01:48:05 -06:00
mars 257acf56d2 Clean up mesh.rs 2022-04-18 20:20:35 -06:00
mars 8a3dac008a Add and record Upload phase 2022-04-18 20:12:10 -06:00
mars ba12827dd6 MeshPool thread safety 2022-04-18 20:10:59 -06:00
mars 8ef1d47947 Staging thread-safety + new buffer per flush 2022-04-18 20:10:24 -06:00