MAXLightConverter |
This class provides methods that convert 3D Studio MAX§ lights to Shockwave 3D§ lights.
When to use
This class is used by the MAXExporter class.
|
Interface Methods |
Description |
|
Class constructor |
|
|
Class destructor |
|
|
Converts a MAX light resource to a Shockwave 3D light resource |
|
|
Converts MAX ambient lighting if it is greater than the default value |
|
|
Converts the default directional light in MAX if there are no other lights in the MAX scenegraph |
|
|
Initializes light converter |
|
|
Creates a Shockwave 3D light resource and links it to the appropriate palettes |
This is the class constructor.
Parameters:
|
pMAXExporter |
Reference to the MAXExporter class |
Return values:
None
This is the class destructor.
Parameters:
None
Return values:
None
Converts a MAX light resource (referenced by a MAX node list) to a comparable Shockwave 3D light resource.
Parameters:
|
pMAXNodeList |
Group head of this list is the MAX light node to be converted |
|
ppOutIFXLightResource |
The Shockwave 3D light resource |
Converts MAX ambient lighting if and only if any component of the MAX ambient lighting is greater than the default value.
Parameters:
None
Converts the default directional light that is present in MAX if there are no other lights present in the MAX scenegraph.
Parameters:
None
This method initializes the light converter
Parameters:
|
pMAXExporter |
Pointer to MAXExporter |
Creates a Shockwave light resource and links this Shockwave light resource to the appropriate Shockwave palettes.
Parameters:
|
ppIFXLightResource |
The Shockwave light resource that is created |
§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.