Open walbourn opened 9 years ago
Yes, I need ID3DXTextureGutterHelper.ResampleTex, when it will be added?
The original UVAtlas sample switches here:
/rt file
Resamples a texture using the new UVAtlas parameterization. The resampled texture is saved to a filename with "_resampled" appended. Defaults to reading old texture parameterization from D3DDECLUSAGE_TEXCOORD[0] in original mesh. Use /rtu and /rti to override this.
/rtu usage
Specifies the vertex data usage for texture resampling. It must be one of NORMAL, POSITION, COLOR, TEXCOORD, TANGENT, or BINORMAL. TEXCOORD
/rti int
Specifies the usage index for texture resampling. 0
The function ID3DXTextureGutterHelper is not required, but can be useful for UVAtlas. It is not currently implemented as part of DirectXTex or DirectXMesh, and like UVAtlas itself combines elements of texture and mesh processing.
This could be useful functionality to consider adding to the library.
ID3DXTextureGutterHelper.ResampleTex was added in the DirectX SDK (August 2005) release.
This is required to implement the
/rt
switch for the uvatlas sample.