3ds Max C++ API Reference
|
#include "Rendering/RenderGlobalContext.h"
#include "Rendering/ShadeContext.h"
#include "Rendering/ViewParams.h"
#include "Materials/AttachMatDlgUser.h"
#include "Materials/DADBitmapCarrier.h"
#include "Materials/IllumParams.h"
#include "Materials/IMtlParams.h"
#include "Materials/IReshadeFragment.h"
#include "Materials/IReshading.h"
#include "Materials/ISubMap.h"
#include "Materials/MapSampler.h"
#include "Materials/Mtl.h"
#include "Materials/MtlBase.h"
#include "Materials/MtlDADMgr.h"
#include "Materials/MtlLib.h"
#include "Materials/ParamDlg.h"
#include "Materials/PStamp.h"
#include "Materials/TexDADMgr.h"
#include "Materials/TexHandle.h"
#include "Materials/Texmap.h"
#include "Materials/TextureOutput.h"
#include "Materials/UVGen.h"
#include "Materials/XYZGen.h"
#include "NumList.h"
Classes | |
class | RenderData |
class | LightDesc |
class | IRayTexmap |
class | TexmapContainer |
class | INewSubTexmapNotification |
Macros | |
#define | X_AXIS 0 |
#define | Y_AXIS 1 |
#define | Z_AXIS 2 |
#define | PS_SMALL 0 |
#define | PS_LARGE 1 |
#define | PS_TINY 2 |
#define | PS_TINY_SIZE 24 |
#define | PS_SMALL_SIZE 32 |
#define | PS_LARGE_SIZE 88 |
#define | PSDIM(isz) ((isz==0)?PS_SMALL_SIZE:(isz==1)?PS_LARGE_SIZE:PS_TINY_SIZE) |
#define | ByteWidth(w) (((w*3+3)/4)*4) |
#define | WM_SUB_MTL_BUTTON WM_USER + 0x04001 |
#define | WM_TEXMAP_BUTTON WM_USER + 0x04002 |
#define | IID_RAYTRACE_MAP 0xff8d87a5 |
#define | GNORMAL_CLASS_ID Class_ID(0x243e22c6, 0x63f6a014) |
Class ID used for the Gnormal and VDM classes found in maxsdk\samples\materials\NormalBump\normalrender.h & vdm.h. More... | |
#define | VDM_CLASS_ID Class_ID(0x152c55c7, 0x26160e93) |
#define | IID_INewSubMapNotification Interface_ID(0x3fe013b2, 0x31815874) |
#define | DEFAULT_TEXTURE_MAP_SIZE_INCHES 48.0f |
#define | DEFAULT_TEXTURE_MAP_SIZE_METERS 1.0f |
Enumerations | |
enum | Normal_Block_IDs { gnormal_params } |
Used for normal and vector displacement map generation. More... | |
enum | Normal_Param_IDs { gn_mult_spin , gn_bmult_spin , gn_map_normal , gn_map_bump , gn_map1on , gn_map2on , gn_method , gn_flip_red , gn_flip_green , gn_swap_rg } |
enum | VDM_Block_IDs { vdm_params } |
enum | VDM_Param_IDs { vdm_mult_spin , vdm_map_vector_enabled , vdm_map_vector , vdm_is_hdr , vdm_method } |
Variables | |
CoreExport MCHAR | TEXMAP_CAT_2D [] |
CoreExport MCHAR | TEXMAP_CAT_3D [] |
CoreExport MCHAR | TEXMAP_CAT_COMP [] |
CoreExport MCHAR | TEXMAP_CAT_COLMOD [] |
CoreExport MCHAR | TEXMAP_CAT_ENV [] |
#define X_AXIS 0 |
#define Y_AXIS 1 |
#define Z_AXIS 2 |
#define PS_SMALL 0 |
#define PS_LARGE 1 |
#define PS_TINY 2 |
#define PS_TINY_SIZE 24 |
#define PS_SMALL_SIZE 32 |
#define PS_LARGE_SIZE 88 |
#define PSDIM | ( | isz | ) | ((isz==0)?PS_SMALL_SIZE:(isz==1)?PS_LARGE_SIZE:PS_TINY_SIZE) |
#define ByteWidth | ( | w | ) | (((w*3+3)/4)*4) |
#define WM_SUB_MTL_BUTTON WM_USER + 0x04001 |
#define WM_TEXMAP_BUTTON WM_USER + 0x04002 |
#define IID_RAYTRACE_MAP 0xff8d87a5 |
#define GNORMAL_CLASS_ID Class_ID(0x243e22c6, 0x63f6a014) |
Class ID used for the Gnormal and VDM classes found in maxsdk\samples\materials\NormalBump\normalrender.h & vdm.h.
#define VDM_CLASS_ID Class_ID(0x152c55c7, 0x26160e93) |
#define IID_INewSubMapNotification Interface_ID(0x3fe013b2, 0x31815874) |
#define DEFAULT_TEXTURE_MAP_SIZE_INCHES 48.0f |
#define DEFAULT_TEXTURE_MAP_SIZE_METERS 1.0f |
enum Normal_Block_IDs |
enum Normal_Param_IDs |
enum VDM_Block_IDs |
enum VDM_Param_IDs |
Enumerator | |
---|---|
vdm_mult_spin | |
vdm_map_vector_enabled | |
vdm_map_vector | |
vdm_is_hdr | |
vdm_method |
CoreExport void SetLoadingMtlLib | ( | MtlLib * | ml | ) |
CoreExport void SetLoadingMtlBaseLib | ( | MtlBaseLib * | ml | ) |
|
inline |
|
inline |
|
inline |
CoreExport Mtl* CombineMaterials | ( | Mtl * | mat1, |
Mtl * | mat2, | ||
int & | mat2Offset | ||
) |
CoreExport Mtl* FitMaterialToMeshIDs | ( | Mesh & | mesh, |
Mtl * | mat | ||
) |
CoreExport Mtl* FitMaterialToShapeIDs | ( | BezierShape & | shape, |
Mtl * | mat | ||
) |
CoreExport Mtl* FitMaterialToPatchIDs | ( | PatchMesh & | patch, |
Mtl * | mat | ||
) |
CoreExport Mtl* FitMaterialToPolyMeshIDs | ( | MNMesh & | mesh, |
Mtl * | mat | ||
) |
CoreExport void FitMeshIDsToMaterial | ( | Mesh & | mesh, |
Mtl * | mat | ||
) |
CoreExport void FitShapeIDsToMaterial | ( | BezierShape & | shape, |
Mtl * | mat | ||
) |
CoreExport void FitPatchIDsToMaterial | ( | PatchMesh & | patch, |
Mtl * | mat | ||
) |
CoreExport void FitPolyMeshIDsToMaterial | ( | MNMesh & | mesh, |
Mtl * | mat | ||
) |
CoreExport Mtl* CondenseMatAssignments | ( | Mesh & | mesh, |
Mtl * | mat | ||
) |
CoreExport Mtl* CondenseMatAssignments | ( | BezierShape & | shape, |
Mtl * | mat | ||
) |
CoreExport Mtl* CondenseMatAssignments | ( | PatchMesh & | patch, |
Mtl * | mat | ||
) |
CoreExport Mtl* CondenseMatAssignments | ( | MNMesh & | mesh, |
Mtl * | mat | ||
) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |