Mental Ray Classes
 
 
 

This topic describes the primary classes involved in making 3ds Max materials compatible with mental ray shaders.

Mental Ray Shader Base Classes

In 3ds Max, all mental ray shaders either derive from Mtl or from Texmap. Material phenomena derive from class Mtl (and are thus material plugins), while all other shader types derive from class Texmap (and are thus texture map plugins).

Core Mental Ray Integration Interfaces

These abstract interfaces are implemented by 3ds Max and are the base of mental ray integration in 3ds Max.

Mental Ray Shader Translation Interfaces

These interfaces allow plug-in developers to handle the translation of various 3ds max elements into mental ray shaders.

Utility Classes

These classes are provided, along with an implementation, to facilitate the work of a plug-in developer. They are provided with a source code implementation which must be included in the VC++ project.