diff --git a/.gitignore b/.gitignore index 0b9b7c9..4117f23 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,6 @@ _visualizer.json #but keep the dxcompiler.dll/dxil.dll !dxcompiler.dll !dxil.dll + +# blender backup files +*.blend1 diff --git a/assets-src/playermodel1.blend b/assets-src/playermodel1.blend index 4818ac7..d9449fb 100644 Binary files a/assets-src/playermodel1.blend and b/assets-src/playermodel1.blend differ diff --git a/assets/playermodel1.obj b/assets/playermodel1.obj index 003e09f..7831938 100644 --- a/assets/playermodel1.obj +++ b/assets/playermodel1.obj @@ -1,18 +1,18 @@ # Blender 4.0.0 Beta # www.blender.org o Cube -v 1.000000 1.000000 -1.000000 -v 1.000000 -1.000000 -1.000000 -v 1.000000 1.000000 1.000000 -v 1.000000 -1.000000 1.000000 -v -1.000000 1.000000 -1.000000 -v -1.000000 -1.000000 -1.000000 -v -1.000000 1.000000 1.000000 -v -1.000000 -1.000000 1.000000 -v 1.000000 1.500000 -1.000000 -v 1.000000 1.500000 1.000000 -v 1.000000 1.000000 -0.333333 -v 1.000000 1.000000 0.333333 +v 0.666667 0.708333 -0.500000 +v 0.666667 -0.291667 -0.500000 +v 0.666667 0.708333 0.500000 +v 0.666667 -0.291667 0.500000 +v -0.333333 0.708333 -0.500000 +v -0.333333 -0.291667 -0.500000 +v -0.333333 0.708333 0.500000 +v -0.333333 -0.291667 0.500000 +v 0.666667 0.958333 -0.500000 +v 0.666667 0.958333 0.500000 +v 0.666667 0.708333 -0.166667 +v 0.666667 0.708333 0.166667 vn -0.0000 1.0000 -0.0000 vn -0.0000 -0.0000 1.0000 vn -1.0000 -0.0000 -0.0000 @@ -52,7 +52,7 @@ f 7/7/3 6/8/3 8/9/3 f 2/10/4 8/11/4 6/12/4 f 1/13/5 4/14/5 2/15/5 f 5/16/6 2/17/6 6/8/6 -f 3/18/1 1/13/1 12/19/1 +f 3/18/3 1/13/3 12/19/3 f 5/1/1 7/20/1 3/2/1 f 3/4/2 7/21/2 8/5/2 f 7/7/3 5/16/3 6/8/3 diff --git a/kubi/src/rendering/entities/pipeline.rs b/kubi/src/rendering/entities/pipeline.rs index bb963ec..40f61a8 100644 --- a/kubi/src/rendering/entities/pipeline.rs +++ b/kubi/src/rendering/entities/pipeline.rs @@ -43,7 +43,7 @@ pub fn init_entities_pipeline( topology: wgpu::PrimitiveTopology::TriangleList, strip_index_format: None, front_face: wgpu::FrontFace::Ccw, - cull_mode: Some(wgpu::Face::Back), + cull_mode: None, // Some(wgpu::Face::Back), //XXX: this culls their majestic ears! :( polygon_mode: wgpu::PolygonMode::Fill, conservative: false, unclipped_depth: false,