3ds Max Exporter------Mesh

本文介绍了3ds Max导出插件的实现过程,特别是针对Mesh对象的处理。通过检查节点类型,确定是否为网格、骨骼或控制器,然后详细解释了如何导出Mesh的数据结构,包括顶点、法线、纹理坐标和材质信息。此外,还涉及到递归导出子节点和处理纹理映射等细节。
摘要由CSDN通过智能技术生成

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 used
const TCHAR OtherMessage2() : not used
unsigned int Ve

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值