Jump to content
  • Advertisement
Sign in to follow this  
dartainiar

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

This topic is 4510 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.
struct CUSTOMVERTEX
{
    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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!