Prepare:
1. 3D Studio MAX Plugin AppWizard can be found in the directory /3dsmax5/maxsdk/Help/SDKAPWZ
2. Copy SDKAPWZ.awx file into Visual Studio directory, e.g. C:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin/IDE
3. Run Visual C++ and click new. The appwizard will appear in the list of options.click "File Export", type exporter in the Plugin category, find the paths that you want to use and then the appwizard creates the skeleton code .
Plug-in Requirements:int ExtCount() :
Returns the number of file extensions that the exporter provides (for our example, we provide 1)const TCHAR Ext(int n) :
Returns the 3-letter file extension string for the given extension index (0-based).const TCHAR LongDesc() :
Provides the long description of the file export format.const TCHAR ShortDesc() :
Provides the short description of the file export format, shown in the file export dialog drop-down.const TCHAR AuthorName() :
Provides the string that describes the author and/or company of the exporter plugin.const TCHAR CopyrightMessage() :
Provides the string that shows the copyright for the given exporter and/or exporter format.const TCHAR OtherMessage1() :
not usedconst TCHAR OtherMessage2() :
not usedunsigned int Ve
3ds Max Exporter------Mesh
最新推荐文章于 2023-11-30 21:33:47 发布
本文介绍了3ds Max导出插件的实现过程,特别是针对Mesh对象的处理。通过检查节点类型,确定是否为网格、骨骼或控制器,然后详细解释了如何导出Mesh的数据结构,包括顶点、法线、纹理坐标和材质信息。此外,还涉及到递归导出子节点和处理纹理映射等细节。
摘要由CSDN通过智能技术生成