I can split the polygons, but how do I split the textures?
Hey there,
I recently successfully learned how to split a triangle across a plane using these equations:
Coord A + B opposite sides of plane
V = B - A
Distance = Ax+By+Cz+D where ABCD are the plane values and xyz the coords of A.
Take DotProduct of the plane and vector V.
ValueNum = (-Distance) / DotProduct;
Intersection Point = A + (V * ValueNum)
OK,..yes, glad I understand this now BUT......
I''m having difficulty in gettin'' the texture coords of each of the new triangles made, abit of a mental block I think.
If anyone can help I would be very grateful.
Thanks again
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement