Sunday, February 27, 2022

Third polygon, sigh...

25 February 2022- Cross Product

Looking at the cross product, for triangle faces of a spherical polyhedron. I'm (mostly) making a honking big quad triangle pair at the back side of the volume and 'spherifying' the XYZ coordinates to the surface of the light blue sphere. I get two random points, derive a third point by subtracting p1 from p0 and adding that to p0 to get p2... and then get the third point as the cross product of the vectors from p0, all 'spherified'. The green triangle is p0-p1-p3 and the red is p0-p3-p2.
The yellow triangle is supposed to be pushing p1 out by getting the cross product of p1-p0 and p1-p3, but not so much...

No comments:

Post a Comment