
上QQ阅读APP看书,第一时间看更新
2.11 上机练习——制作象棋动画
中国传统棋类益智游戏,在中国有着悠久的历史,先秦时期已有记载。属于二人对抗性游戏的一种,由于用具简单,趣味性强,成为流行极为广泛的棋艺活动。本节将介绍如何制作象棋动画,效果如图2-38所示。

图2-38 象棋动画
01 按Ctrl+O组合键,在弹出的对话框中选择“制作象棋动画.max”素材文件,单击【打开】按钮,在工具栏中单击【选择并移动】按钮,在视图中选择如图2-39所示的两个对象。

图2-39 选择对象
02 在菜单栏中选择【组】|【组】命令,在弹出的【组】对话框中将【组名】设置为“白王”,如图2-40所示。

图2-40 将对象成组
03 设置完成后,单击【确定】按钮,使用同样的方法将黑王进行编组,选择一个黑兵,单击【自动关键点】按钮,将时间滑块拖曳至第20帧处,在【顶】视图中调整黑兵的位置,如图2-41所示。

图2-41 调整黑兵的位置
04 选择一个白兵,在第20帧处单击【设置关键点】按钮,将时间滑块拖曳至第40帧处,将白兵向前推动一段距离,如图2-42所示。

图2-42 设置白兵的位置
05 选择一个黑兵,单击【设置关键帧】按钮,将时间滑块拖曳至第60帧处,将黑兵向前推进一段距离,如图2-43所示。

图2-43 调整黑兵的位置
06 选择一个白兵,单击【设置关键帧】按钮,将时间滑块拖拽至第80帧处,将白兵拖曳至一定距离,如图2-44所示。

图2-44 调整白兵的位置
07 选择一个黑兵,单击【设置关键帧】按钮,将时间滑块拖曳至第100帧位置处,调整它的位置,如图2-45所示。

图2-45 设置黑兵的位置
08 选择一个白兵,单击【设置关键帧】按钮,将时间滑块拖曳至第110帧处,如图2-46所示。关闭自动关键点,对摄影机视图进行渲染。

图2-46 调整白兵的位置