Windows Dev Center

D3DXUVATLAS enumeration

Defines options for performing geodesic distance calculations, when fitting a texture to a curved surface. Use this flag to choose between high quality versus fast calculations when computing a texture atlas.

Syntax


typedef enum _D3DXUVATLAS { 
  D3DXUVATLAS_DEFAULT           = 1,
  D3DXUVATLAS_GEODESIC_FAST     = 2,
  D3DXUVATLAS_GEODESIC_QUALITY  = 3
} D3DXUVATLAS;

Constants

D3DXUVATLAS_DEFAULT

Meshes with more than 25k faces will have the fast geodasic distance method applied to them while meshes with fewer than 25k faces will have the higher quality geodesic distance method applied to them instead.

D3DXUVATLAS_GEODESIC_FAST

Uses approximations to improve charting speed at the cost of added stretch or more charts being output for the mesh.

D3DXUVATLAS_GEODESIC_QUALITY

Provides better quality charts, but requires more time and memory than fast.

Requirements

Header

D3dx9mesh.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft