3D math problem
in
Programming Questions
•
3 years ago
my math visualization skills are shaky, I'm hoping someone can help me out.
the problem: I have have a 3D shape I've built on the x-y plane and I have a truncated cone whose axis is z. I want to wrap the 3D object around the cone.
I assume that I'll want to normalize the u-v of both the object and the cone. Then convert the object vertex and face coordinates to u-v-w vectors. Then, I'll want to copy those vertexes and faces in relation to the cone surface, allowing for the spread resulting from the curved surface and render them in world coordinates. Is that about right?
Can someone help me with the math? Especially allowing for the spread due to the curve.
the problem: I have have a 3D shape I've built on the x-y plane and I have a truncated cone whose axis is z. I want to wrap the 3D object around the cone.
I assume that I'll want to normalize the u-v of both the object and the cone. Then convert the object vertex and face coordinates to u-v-w vectors. Then, I'll want to copy those vertexes and faces in relation to the cone surface, allowing for the spread resulting from the curved surface and render them in world coordinates. Is that about right?
Can someone help me with the math? Especially allowing for the spread due to the curve.
1