Monday, May 20, 2024

I've been thinking about building a tetrahedron procedurally from a triangle in XYZ. Splat out three points, move them apart if they're too close together and find the winding, clockwise or counterclockwise, from the Cross product of z, such that when we're looking down into the z axis the triangle faces towards us or away, is for display purposes black or red, or visible vs invisible.

No comments:

Post a Comment