|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
CExportNel Class Reference3dsmax to NeL export interface for other things that landscape.
More...
#include <export_nel.h>
List of all members.
Public Types |
typedef std::map<INode*, Matrix3> | mapBoneBindPos |
enum | {
NoError = 0,
VertexWithoutWeight,
InvalidSkeleton,
CodeCount
} |
Public Methods |
| CExportNel () |
| Constructor. More...
|
Static Public Methods |
NL3D::IShape* | buildShape (INode& node, Interface& ip, TimeValue time, const NL3D::CSkeletonShape* skeletonShape, bool absolutePath) |
| Build a NeL mesh. More...
|
bool | isMesh (INode& node, TimeValue time) |
| Return true if it is a mesh. More...
|
void | addAnimation (NL3D::CAnimation& animation, INode& node, const char* sBaseName, Interface *ip) |
NL3D::ITrack* | buildATrack (NL3D::CAnimation& animation, Control& c, TNelValueType type, Animatable& node, const CExportDesc& desc, Interface *ip) |
void | addBoneTracks (NL3D::CAnimation& animation, INode& node, const char* parentName, Interface *ip) |
void | buildNelKey (NL3D::CKeyFloat& nelKey, ILinFloatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyInt& nelKey, ILinFloatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyBool& nelKey, ILinFloatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyVector& nelKey, ILinPoint3Key& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyRGBA& nelKey, ILinPoint3Key& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyQuat& nelKey, ILinRotKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyVector& nelKey, ILinScaleKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyBezierFloat& nelKey, IBezFloatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyBool& nelKey, IBezFloatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyBezierVector& nelKey, IBezPoint3Key& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyBezierQuat& nelKey, IBezQuatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyBezierVector& nelKey, IBezScaleKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyTCBFloat& nelKey, ITCBFloatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyBool& nelKey, ITCBFloatKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyTCBVector& nelKey, ITCBPoint3Key& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyTCBQuat& nelKey, ITCBRotKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | buildNelKey (NL3D::CKeyTCBVector& nelKey, ITCBScaleKey& maxKey, float ticksPerSecond, const CExportDesc& desc) |
void | createBipedKeyFramer (NL3D::ITrack *&nelRot, NL3D::ITrack *&nelPos, bool isRot, bool isPos, float ticksPerSecond, const Interval& range, int oRT, const CExportDesc& desc, INode& node, const std::set<TimeValue>& ikeys, Interface *ip) |
NL3D::CAnimationTime | convertTime (TimeValue time) |
void | buildSkeletonShape (NL3D::CSkeletonShape& skeletonShape, INode& node, mapBoneBindPos* mapBindPos, TimeValue time) |
void | buildSkeleton (std::vector<NL3D::CBoneBase>& bonesArray, INode& node, mapBoneBindPos* mapBindPos, TimeValue time, sint32& idCount, sint32 father=-1) |
uint | buildSkinning (NL3D::CMesh::CMeshBuild& buildMesh, const NL3D::CSkeletonShape& skeletonShape, INode& node) |
bool | isSkin (INode& node) |
INode* | getSkeletonRootBone (INode& node) |
void | addSkeletonBindPos (INode& node, mapBoneBindPos& boneBindPos) |
void | enableSkinModifier (INode& node, bool enable) |
Matrix3 | viewMatrix2CameraMatrix (const Matrix3& viewMatrix) |
| Transforme a 3dsmax view matrix to camera matrix. More...
|
void | convertMatrix (NLMISC::CMatrix& nelMatrix, const Matrix3& maxMatrix) |
void | getLocalMatrix (Matrix3& localMatrix, INode& node, TimeValue time) |
void | decompMatrix (NLMISC::CVector& nelScale, NLMISC::CQuat& nelRot, NLMISC::CVector& nelPos, const Matrix3& maxMatrix) |
void | convertColor (NLMISC::CRGBA& nelColor, const Color& maxColor) |
bool | isClassIdCompatible (Animatable& node, Class_ID& classId) |
Animatable* | getSubAnimByName (Animatable& node, const char* sName) |
std::string | getName (MtlBase& mtl) |
std::string | getName (INode& node) |
void | getLights (std::vector<NL3D::CLight>& vectLight, TimeValue time, Interface& ip, INode* node=NULL) |
Control* | getControlerByName (Animatable& node, const char* sName) |
bool | getValueByNameUsingParamBlock2 (Animatable& node, const char* sName, ParamType2 type, void *pValue, TimeValue time) |
Modifier* | getModifier (INode* pNode, Class_ID modCID) |
NLMISC::CRGBA | getAmbientColor (Interface& ip, TimeValue time) |
bool | scriptEvaluate (Interface *ip, char *script, void *out, TNelScriptValueType type) |
Static Public Attributes |
const char* | ErrorMessage [CodeCount] |
Static Private Methods |
int | getVertMapChannel (Texmap& texmap, Matrix3& channelMatrix) |
bool | buildLight (GenLight &maxLight, NL3D::CLight& nelLight, INode& node, TimeValue time) |
void | buildMeshInterface (TriObject &tri, NL3D::CMesh::CMeshBuild& buildMesh, std::vector<std::string>& materialNames, INode& node, TimeValue time, const NL3D::CSkeletonShape* skeletonShape, bool absolutePath) |
| Build a NeL mesh interface. More...
|
Point3 | getLocalNormal (int face, int corner, Mesh& mesh) |
int | buildMaterials (std::vector<NL3D::CMaterial>& Materials, std::vector<std::vector<CMaterialDesc> >& remap3dsTexChannel, std::vector<std::string>& materialNames, INode& node, TimeValue time, bool absolutePath) |
std::string | buildAMaterial (NL3D::CMaterial& material, std::vector<CMaterialDesc>& remap3dsTexChannel, Mtl& mtl, TimeValue time, bool absolutePath) |
NL3D::ITexture* | buildATexture (Texmap& texmap, std::vector<CMaterialDesc>& remap3dsTexChannel, TimeValue time, bool absolutePath) |
void | addNodeTracks (NL3D::CAnimation& animation, INode& node, const char* parentName, Interface *ip) |
void | addBonesTracks (NL3D::CAnimation& animation, INode& node, const char* parentName, Interface *ip) |
void | addObjTracks (NL3D::CAnimation& animation, Object& obj, const char* parentName) |
void | addMtlTracks (NL3D::CAnimation& animation, Mtl& mtl, const char* parentName, Interface *ip) |
void | addTexTracks (NL3D::CAnimation& animation, Texmap& tex, const char* parentName) |
void | addKeyTime (Control& c, std::set<TimeValue>& ikeys, bool subKeys) |
bool | getBipedKeyInfo (Interface *ip, const char* nodeName, const char* paramName, uint key, float& res) |
Detailed Description
3dsmax to NeL export interface for other things that landscape.
-
Author(s):
-
Cyril Corvazier , Nevrax France
-
Date:
-
2000
Definition at line 74 of file export_nel.h.
Member Typedef Documentation
typedef std::map<INode*, Matrix3> CExportNel::mapBoneBindPos
|
|
Member Enumeration Documentation
|
-
Enumeration values:
-
NoError
|
|
VertexWithoutWeight
|
|
InvalidSkeleton
|
|
CodeCount
|
|
Definition at line 77 of file export_nel.h. |
Constructor & Destructor Documentation
CExportNel::CExportNel (
|
)
|
|
Member Function Documentation
void CExportNel::addAnimation (
|
NL3D::CAnimation & animation,
|
|
INode & node,
|
|
const char * sBaseName,
|
|
Interface * ip ) [static]
|
|
void CExportNel::addBoneTracks (
|
NL3D::CAnimation & animation,
|
|
INode & node,
|
|
const char * parentName,
|
|
Interface * ip ) [static]
|
|
void CExportNel::addBonesTracks (
|
NL3D::CAnimation & animation,
|
|
INode & node,
|
|
const char * parentName,
|
|
Interface * ip ) [static, private]
|
|
void CExportNel::addKeyTime (
|
Control & c,
|
|
std::set< TimeValue >& keySet,
|
|
bool subKeys ) [static, private]
|
|
void CExportNel::addMtlTracks (
|
NL3D::CAnimation & animation,
|
|
Mtl & mtl,
|
|
const char * parentName,
|
|
Interface * ip ) [static, private]
|
|
void CExportNel::addNodeTracks (
|
NL3D::CAnimation & animation,
|
|
INode & node,
|
|
const char * parentName,
|
|
Interface * ip ) [static, private]
|
|
void CExportNel::addObjTracks (
|
NL3D::CAnimation & animation,
|
|
Object & obj,
|
|
const char * parentName ) [static, private]
|
|
void CExportNel::addSkeletonBindPos (
|
INode & node,
|
|
mapBoneBindPos & boneBindPos ) [static]
|
|
void CExportNel::addTexTracks (
|
NL3D::CAnimation & animation,
|
|
Texmap & tex,
|
|
const char * parentName ) [static, private]
|
|
std::string CExportNel::buildAMaterial (
|
NL3D::CMaterial & material,
|
|
std::vector< CMaterialDesc >& remap3dsTexChannel,
|
|
Mtl & mtl,
|
|
TimeValue time,
|
|
bool absolutePath ) [static, private]
|
|
ITexture * CExportNel::buildATexture (
|
Texmap & texmap,
|
|
std::vector< CMaterialDesc >& remap3dsTexChannel,
|
|
TimeValue time,
|
|
bool absolutePath ) [static, private]
|
|
bool CExportNel::buildLight (
|
GenLight & maxLight,
|
|
NL3D::CLight & nelLight,
|
|
INode & node,
|
|
TimeValue time ) [static, private]
|
|
int CExportNel::buildMaterials (
|
std::vector< NL3D::CMaterial >& Materials,
|
|
std::vector< std::vector< CMaterialDesc > >& remap3dsTexChannel,
|
|
std::vector< std::string >& materialNames,
|
|
INode & node,
|
|
TimeValue time,
|
|
bool absolutePath ) [static, private]
|
|
void CExportNel::buildMeshInterface (
|
TriObject & tri,
|
|
NL3D::CMesh::CMeshBuild & buildMesh,
|
|
std::vector< std::string >& materialNames,
|
|
INode & node,
|
|
TimeValue time,
|
|
const NL3D::CSkeletonShape * skeletonShape,
|
|
bool absolutePath ) [static, private]
|
|
|
Build a NeL mesh interface.
if skeletonShape is NULL, no skinning is exported.
Definition at line 151 of file export_mesh.cpp.
Referenced by buildShape(). |
void CExportNel::buildNelKey (
|
NL3D::CKeyBool & nelKey,
|
|
ITCBFloatKey & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyBool & nelKey,
|
|
IBezFloatKey & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyVector & nelKey,
|
|
ILinScaleKey & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyQuat & nelKey,
|
|
ILinRotKey & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyRGBA & nelKey,
|
|
ILinPoint3Key & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyVector & nelKey,
|
|
ILinPoint3Key & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyBool & nelKey,
|
|
ILinFloatKey & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyInt & nelKey,
|
|
ILinFloatKey & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::buildNelKey (
|
NL3D::CKeyFloat & nelKey,
|
|
ILinFloatKey & maxKey,
|
|
float ticksPerSecond,
|
|
const CExportDesc & desc ) [static]
|
|
void CExportNel::convertColor (
|
NLMISC::CRGBA & nelColor,
|
|
const Color & maxColor ) [static]
|
|
void CExportNel::convertMatrix (
|
NLMISC::CMatrix & nelMatrix,
|
|
const Matrix3 & maxMatrix ) [static]
|
|
void CExportNel::createBipedKeyFramer (
|
NL3D::ITrack *& nelRot,
|
|
NL3D::ITrack *& nelPos,
|
|
bool isRot,
|
|
bool isPos,
|
|
float ticksPerSecond,
|
|
const Interval & range,
|
|
int oRT,
|
|
const CExportDesc & desc,
|
|
INode & node,
|
|
const std::set< TimeValue >& ikeys,
|
|
Interface * ip ) [static]
|
|
void CExportNel::enableSkinModifier (
|
INode & node,
|
|
bool enable ) [static]
|
|
CRGBA CExportNel::getAmbientColor (
|
Interface & ip,
|
|
TimeValue time ) [static]
|
|
bool CExportNel::getBipedKeyInfo (
|
Interface * ip,
|
|
const char * nodeName,
|
|
const char * paramName,
|
|
uint key,
|
|
float & res ) [static, private]
|
|
Control * CExportNel::getControlerByName (
|
Animatable & node,
|
|
const char * sName ) [static]
|
|
void CExportNel::getLights (
|
std::vector< NL3D::CLight >& vectLight,
|
|
TimeValue time,
|
|
Interface & ip,
|
|
INode * node = NULL ) [static]
|
|
void CExportNel::getLocalMatrix (
|
Matrix3 & localMatrix,
|
|
INode & node,
|
|
TimeValue time ) [static]
|
|
Point3 CExportNel::getLocalNormal (
|
int face,
|
|
int corner,
|
|
Mesh & mesh ) [static, private]
|
|
Modifier * CExportNel::getModifier (
|
INode * pNode,
|
|
Class_ID modCID ) [static]
|
|
std::string CExportNel::getName (
|
INode & mtl ) [static]
|
|
std::string CExportNel::getName (
|
MtlBase & mtl ) [static]
|
|
INode * CExportNel::getSkeletonRootBone (
|
INode & node ) [static]
|
|
Animatable * CExportNel::getSubAnimByName (
|
Animatable & node,
|
|
const char * sName ) [static]
|
|
bool CExportNel::getValueByNameUsingParamBlock2 (
|
Animatable & node,
|
|
const char * sName,
|
|
ParamType2 type,
|
|
void * pValue,
|
|
TimeValue time ) [static]
|
|
int CExportNel::getVertMapChannel (
|
Texmap & texmap,
|
|
Matrix3 & channelMatrix ) [static, private]
|
|
bool CExportNel::isClassIdCompatible (
|
Animatable & anim,
|
|
Class_ID & classId ) [static]
|
|
bool CExportNel::isMesh (
|
INode & node,
|
|
TimeValue time ) [static]
|
|
bool CExportNel::isSkin (
|
INode & node ) [static]
|
|
bool CExportNel::scriptEvaluate (
|
Interface * ip,
|
|
char * script,
|
|
void * out,
|
|
TNelScriptValueType type ) [static]
|
|
Matrix3 CExportNel::viewMatrix2CameraMatrix (
|
const Matrix3 & viewMatrix ) [static]
|
|
|
Transforme a 3dsmax view matrix to camera matrix.
Definition at line 53 of file export_misc.cpp. |
Member Data Documentation
const char * CExportNel::ErrorMessage[CodeCount] [static]
|
|
|
Initializer: {
"No error.",
"Some vertices of the skin are not assigned.",
"The skin doesn't use the same skeleton.",
}
Definition at line 85 of file export_nel.h. |
The documentation for this class was generated from the following files:
|
|