File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ +++
2+ title = " T-Junctions"
3+ description = " Any vertex placed on an edge creates infinitely small gaps in geometry."
4+ [taxonomies ]
5+ categories = [" math" ]
6+ tags = [" math" , " meshing" ]
7+ +++
8+
9+ Any time your meshing process results in the corner of a triangle
10+ resting on the edge of another triangle, you get a ** T-Junction** .
11+
12+ While this gap between the corner and the edge * is* infinitely small mathematically,
13+ it * absolutely isn't* in practice, due to floating-point computation and rounding.
14+
15+ <span style =" color :red " >This ** always** happens</span >,
16+ even if you've managed eliminate * all* floating-point errors.
17+
18+ There are four ways to work around this issue:
19+
20+ 1 . Expand the faces ever so slightly outwards.
21+ 2 . Fill the pixel-wide gaps in a post-process shader.
22+ 3 . Don't create geometry where vertices can lie on edges.
23+ 4 . Directly raytrace your voxel volume.
You can’t perform that action at this time.
0 commit comments