X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=regression_tests%2Fq3map2%2Fcoarse_snap_normal%2FREADME.txt;fp=regression_tests%2Fq3map2%2Fcoarse_snap_normal%2FREADME.txt;h=6525380dcfdf58f3c4b2e118748ec105af3ee398;hp=0000000000000000000000000000000000000000;hb=a36b39a62b8e98f2cd0a767eb6f4b39350816191;hpb=a16ee23adf02f564d2074ebf2b5f3a839cd07167 diff --git a/regression_tests/q3map2/coarse_snap_normal/README.txt b/regression_tests/q3map2/coarse_snap_normal/README.txt new file mode 100644 index 00000000..6525380d --- /dev/null +++ b/regression_tests/q3map2/coarse_snap_normal/README.txt @@ -0,0 +1,16 @@ +DESCRIPTION OF PROBLEM: +======================= + +Because of the coarse nature of SnapNormal(), planes that are 0.25 degrees +away from being axial are "snapped" to be axial. The "normal epsilon" +is a very small value by default, and cannot go much smaller (without +running into limits of floating point numbers). The problem with +SnapNormal() is that we compare the components of the normal that are near +1, instead of comaring the components that are near 0. This leads to a very +coarse and inaccurate SnapNormal(). + +If you open the example map in Radiant, you can see that the red brick should +touch the middle checkered brick at the edge. However, once this map is +compiled, the edges are a significant distance apart. This is due to the +coarse and inaccurate nature of SnapNormal(). Likewise, the green brick should +be flush with the center tiled brick, but it's not.