Fencegate: prevent y-fighting at top.
authorAuke Kok <sofar@foo-projects.org>
Sun, 13 Mar 2016 20:42:24 +0000 (13:42 -0700)
committerparamat <mat.gregory@virginmedia.com>
Tue, 15 Mar 2016 16:22:58 +0000 (16:22 +0000)
We raise the height of the fencegate node by 0.0001 to make the
fencegate post stop fighting with node blocks. This makes the
gate pole appear to be cut through the node, and doesn't leave
a gap when stacking fencegates, which would look odd.

mods/doors/models/doors_fencegate_closed.obj
mods/doors/models/doors_fencegate_open.obj

index 60eb4d748268121c5f245f5985706d84712d16b3..0050f70e3bb751d0d44e2f8a01d36713085a833d 100644 (file)
@@ -3,21 +3,21 @@
 mtllib gate_closed.mtl
 o Cube_Cube.001
 v -0.625000 -0.500000 0.125000
-v -0.625000 0.500000 0.125000
+v -0.625000 0.500100 0.125000
 v -0.625000 -0.500000 -0.125000
-v -0.625000 0.500000 -0.125000
+v -0.625000 0.500100 -0.125000
 v -0.375000 -0.500000 0.125000
-v -0.375000 0.500000 0.125000
+v -0.375000 0.500100 0.125000
 v -0.375000 -0.500000 -0.125000
-v -0.375000 0.500000 -0.125000
+v -0.375000 0.500100 -0.125000
 v 0.375000 -0.500000 0.125000
-v 0.375000 0.500000 0.125000
+v 0.375000 0.500100 0.125000
 v 0.375000 -0.500000 -0.125000
-v 0.375000 0.500000 -0.125000
+v 0.375000 0.500100 -0.125000
 v 0.625000 -0.500000 0.125000
-v 0.625000 0.500000 0.125000
+v 0.625000 0.500100 0.125000
 v 0.625000 -0.500000 -0.125000
-v 0.625000 0.500000 -0.125000
+v 0.625000 0.500100 -0.125000
 v -0.375000 0.187500 0.062500
 v -0.375000 0.312500 0.062500
 v -0.375000 0.187500 -0.062500
index 6c6a9cf480a482a2c2fc30d31daf487a8f616d8c..3fb727f4007db736d96adc6a584e785de11192cd 100644 (file)
@@ -3,21 +3,21 @@
 mtllib gate_open.mtl
 o Cube_Cube.001
 v -0.625000 -0.500000 0.125000
-v -0.625000 0.500000 0.125000
+v -0.625000 0.500100 0.125000
 v -0.625000 -0.500000 -0.125000
-v -0.625000 0.500000 -0.125000
+v -0.625000 0.500100 -0.125000
 v -0.375000 -0.500000 0.125000
-v -0.375000 0.500000 0.125000
+v -0.375000 0.500100 0.125000
 v -0.375000 -0.500000 -0.125000
-v -0.375000 0.500000 -0.125000
+v -0.375000 0.500100 -0.125000
 v 0.375000 -0.500000 0.125000
-v 0.375000 0.500000 0.125000
+v 0.375000 0.500100 0.125000
 v 0.375000 -0.500000 -0.125000
-v 0.375000 0.500000 -0.125000
+v 0.375000 0.500100 -0.125000
 v 0.625000 -0.500000 0.125000
-v 0.625000 0.500000 0.125000
+v 0.625000 0.500100 0.125000
 v 0.625000 -0.500000 -0.125000
-v 0.625000 0.500000 -0.125000
+v 0.625000 0.500100 -0.125000
 v 0.434859 0.187500 -0.872359
 v 0.434859 0.312500 -0.872359
 v 0.559859 0.187500 -0.872359