3ds Max C++ API Reference
Loading...
Searching...
No Matches
MaterialConversionHelper.h File Reference
#include "GraphicsExport.h"
#include "BaseMaterialHandle.h"
#include "../Materials/Mtl.h"
#include "../maxTypes.h"

Namespaces

namespace  MaxSDK
 
namespace  MaxSDK::Graphics
 
namespace  MaxSDK::Graphics::MaterialConversionHelper
 MaterialConversionHelper is a class to convert from a 3ds Max material (Mtl class) into a Viewport material (BaseMaterialHandle class) This viewport material can be assigned with :
 

Functions

MaxGraphicsObjectAPI BaseMaterialHandle ConvertMaxToNitrousMaterial (Mtl &mtl, TimeValue t, bool bRealisticMode)
 Convert a 3ds Max Mtl into a viewport BaseMaterialHandle.
 
MaxGraphicsObjectAPI bool GetNitrousMaterialFromPhysicalMaterialPreset (BaseMaterialHandle &outBaseMaterialHandle, const MSTR &presetName, TimeValue t, bool bRealisticMode)
 Create a viewport BaseMaterialHandle from a Physical material preset.