halobear333
Newcomer
- Joined
- Jan 7, 2004
- Messages
- 14
I've recently come over from opengl programming and have a fair amount of 3d programming experience, but:
How the devil do you apply texture coordinates to a mesh object (ie a box, sphere, teapot, etc). I assume it's similar to how you generate normals: clone the mesh to a FVF that has normals and call computenormals()
But nowhere do I see computetexturecoords Surely you don't have to do this manually? Kind of defeats the purpose of having these premade objects.
I should point out that I have .Net 2002, so haven't been able to install the documentation, and can't find the info in that behemoth, msdn.com.
How the devil do you apply texture coordinates to a mesh object (ie a box, sphere, teapot, etc). I assume it's similar to how you generate normals: clone the mesh to a FVF that has normals and call computenormals()
But nowhere do I see computetexturecoords Surely you don't have to do this manually? Kind of defeats the purpose of having these premade objects.
I should point out that I have .Net 2002, so haven't been able to install the documentation, and can't find the info in that behemoth, msdn.com.