This commit is contained in:
griffi-gh 2024-05-08 13:35:03 +02:00
parent eec672d665
commit 438b79e8f0
4 changed files with 17 additions and 14 deletions

3
.gitignore vendored
View file

@ -31,3 +31,6 @@ _visualizer.json
#but keep the dxcompiler.dll/dxil.dll
!dxcompiler.dll
!dxil.dll
# blender backup files
*.blend1

Binary file not shown.

View file

@ -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

View file

@ -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,