Max Script|物体选择和拷贝

来源:互联网 发布:网络销售工作总结范文 编辑:程序博客网 时间:2024/05/22 04:51

本章记录Max脚本的中的简单操作-物体选择和拷贝

  • •对物体的简单操作
sphere()box()torus()plane()*******************创建物体,更多类型请根据max英文版命名书写*******************select $box01()             --选择box01select $box*                --选择所有box命名物体select objects              --选择所有物体select geometory            --选择几何体deselete $box01()          --取消对box01选择deselete $box*             --取消对box命名物体的选择delete $box01()            --删除box01delete $box*               --删除所有box命名物体copy $box01 pos:[100,0,0]  --拷贝一个新的box01到位置坐标copy $box01 pos:[100,0,0] name:"new_name" wirecolor:orange --重新命名及线框颜色instance $box01 pos:[100,100,0] name:"instance _name" wirecolor:orange --实例化创建拷贝,修改新物体参数,被实例化物体将会跟着变化。reference $box01 pos:[100,-100,0] name:"reference _name" wirecolor:red--引用创建,在卷展栏有特殊标识*******************以上演示了选择、非选择、删除、拷贝(拷贝、实例化、引用)方法*******************circle pos:[10,0,0]         --创建圆环omnilight pos:[20,0,0]      --创建泛光灯dummy pos:[30,0,0]          --创建虚拟提wind pos:[40,0,0]           --创建空间扭曲:风select objects              --选择objectsdeselect objects            --释放选择select shapes               --选择形状类型物体select lights               --选择灯光类型物体select helpers              --选择帮助类型物体select spacewarps           --选择空间扭曲类型物体*******************以上演示了创建和选择不同类型物体的方法,具体类型请参考手册*******************hide $wind01                --隐藏wind01unhide $wind01              --显示wind01freeze shapes               --冻结shapes类物体unfreeze shapes             --解冻shapes类物体freeze $box01               --冻结具体模型*******************以上演示了隐藏、显示、冻结等常见操作*******************
0 0
原创粉丝点击