MAXScript101 5.3 ExportMesh - Writing Custom Scene Exporters

本文档介绍了如何使用MAXScript创建一个简单的Biped行走动画,并实现自定义网格导出器,输出顶点在不同帧间的位移差。在Biped部分,详细说明了创建和设置足迹的关键步骤。在自定义网格导出器部分,提供了一个名为exportMesh的函数,用于将对象的顶点变化写入文件,同时提供了编辑器加载文件的示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

MAXScript101 5.3 ExportMesh - Writing Custom Scene Exporters

 

I. Biped Walk

1. create a bipe: create > system > biped;

2. create footsteps: 

(1) click motion, and select one part of the Biped. 

(2) under Biped rollout, select Footstep mode. 

(3) under Footstep Creation rollout, select Create Multiple Footsteps, in the dialogue, modify the Number of 

 

Footsteps and leave others default.

3.  create keys for the footsteps

with the footstep mode selected, under Footstep Operations, select Create Keys for Inactive Footsteps.

 

II. Custom Mesh Exporter

 

  

 

 

 

 

III. 注解:

1. 帧数与整数的转换

animationRange.end -- return 124f

(animationRange.end - animationRange.start).frame  -- return 124.0

 

2. 有关mesh的操作,参考MAXScript Reference, 可搜索关键字:getVert

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值