Skip to content

Commit 25e4cdc

Browse files
committed
add(/wiki/t-junction): barely acceptable content-wise; missing references?
1 parent 922c177 commit 25e4cdc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

content/wiki/t-junction/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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.

0 commit comments

Comments
 (0)