Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
给定三角形表面上的 2D 点,三角形的每个角都是 3D 点,如何计算 2D 点对应的 3D 点?
要获得三角形上特定 2D 点的 3D 位置,请使用重心坐标插值 3D 顶点的位置:
2D coordinates: u,v such that 0 <= u,v <= 1 and u+v <= 1 -> barycentric coordinates: add t such that t+u+v = 1 -> t = 1-(u+v) 3D vertices: V1, V2, and V3 -> result = u*V1 + v*V2 + t*V3