• Advertisement
Sign in to follow this  

List of problem : Create 3d Model's UV Atlas

This topic is 4390 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I use triangle list to implement my 3d model datastructure.
    D3DXVECTOR3 position; 
    D3DXVECTOR3 normal;   

struct 3DMODEL{
    UINT numTriangle;
    CUSTOMVERTEX* vertexlist;

1.how do I transfer my model to ID3DXMesh ? 2.how do I generate a texture atlas by using D3DXUVAtlasPartition ,D3DXUVAtlasPack and D3DXUVAtlasCreate these three function?If my texture is a bitmap. 3.In the description of function D3DXUVAtlasPartition.The parameter "pFacePartitioning [out] A pointer to an array of the final face-partioning data. Each element contains one DWORD per face " what's that mean?Does it mean that a face data of three vertex triangle compressed in a DWORD?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement