Texture Sample
Texture demonstrates usage of IMeshTexture_DG and ITexture_DG
interface.
Running Texture Sample
The sample has two test cases. The first one loads a mesh, a texture image file and defines mapping of texture to the mesh surface at runtime. The case loads the vertex to texel mapping from a text file. In a real application the data may come from other sources.
The second case simply loads a VRML file where everything is defined using VRML structures.
See also: Sample List
|