DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


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