MAXMaterialConverter |
This class provides methods to convert 3D Studio MAX§ materials to IFXShader structures.
|
Interface Methods |
Description |
|
Class constructor |
|
|
Class destructor |
|
|
Initializes the object for use |
|
|
Gets all unique materials from a MAX node list |
|
|
Converts MAX textures to Shockwave 3D§ textures |
|
|
Creates Shockwave 3D materials |
|
|
Creates one or more IFXShaders based on a list of MAX materials. It also returns the Shader Recource IDs of the Shaders. |
Class constructor.
Parameters:
None
Class destructor.
Parameters:
None
Initializes the object for use.
Parameters:
|
pMAXExportInterface |
Pointer to the MAX Exporter Interface |
|
pMAXCoreInterface |
Pointer to MAX Core Interface |
|
pMAXExporter |
Pointer to main MAX exporter |
Gets all unique materials from a MAX node list.
Parameters:
|
pMAXNodeList |
Pointer to the list of MAX nodes from which materials are to be gathered |
|
pNumMaterials |
Number of materials used by the MAX node list |
|
ppMaterials |
The authoring class representing MAX materials |
|
pMeshMtlOffsets |
The authoring class that maps the materials. Default is set to Null |
Converts MAX textures to Shockwave 3D textures.
Parameters:
|
texType |
Texture type |
|
pBitmap |
Pointer to the MAX bitmap interface for the texture map |
|
pMapName |
Pointer to the MAX texture map name |
|
pMapResourceID |
Unique identifier for the texture map in Shockwave 3D |
Creates Shockwave 3D materials.
Parameters:
|
pMAXMultiMaterial |
Authoring class that represents the MAX material to be converted |
|
pResourceId |
Unique identifier for the Shockwave 3D material to be created |
Creates one or more IFXShaders based on a list of MAX materials. It also returns the Shader Resource IDs of the Shaders.
Parameters:
|
pMAXMultiMaterial |
Array of authoring classes that represents the MAX materials to be converted to a Shockwave 3D shader |
|
uNumMaterials |
Number of MAX materials that will make up the shader |
|
pShaders |
List of shaders (by IDs) to which this shader will be added |
§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.