摘要: rollout rendertool "渲染工具" width:193 height:300( GroupBox grp2 "RenderTool" pos:[8,8] width:176 height:248 button btnSave "Save" pos:[16,32] widt... 阅读全文
posted @ 2014-10-09 18:22 amixc 阅读(329) 评论(0) 推荐(0) 编辑
摘要: max modify mode --切换到修改面板subobjectlevel = 1splinecount =numsplines $for i = 1 to splinecount do ( numbervet=(numSegments $ i)+1 if is... 阅读全文
posted @ 2014-10-09 16:24 amixc 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 通过for循环的嵌套来来展平Splineshape中顶点1.判定选中的样条曲线是否符合要求2.通过循环来计算曲线中每个顶点3.将计算到的顶点的Z坐标位置设置成和曲线本身的Z坐标一致4.执行完以上操作后 使用UpdateShape()更新曲线--判断选择的曲线是否是可编辑样条曲线 曲线的数量是1 并且... 阅读全文
posted @ 2014-09-30 18:09 amixc 阅读(293) 评论(0) 推荐(0) 编辑
摘要: MAXScript中可以通过System.Windows.Forms.OpenFileDialog来获取文件的全路径--创建OpenFileDialogtheDialog=dotNetObject "System.Windows.Forms.OpenFileDialog"--设置对话框的标题theD... 阅读全文
posted @ 2014-09-29 15:01 amixc 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: box() --创建box--创建一个50*50的box阵列for a in 0 to 50 do ( for i in 0 to 50 do copy $Box001 pos:[25*a,i*25,0] ) --给box的w... 阅读全文
posted @ 2014-09-25 17:32 amixc 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 语法:function =(expr)实例1:function createSphere count growth =(for i in 1 to count dosphere radius:(i*growth) pos:[i^2*growth,0,0] )函数的调用:createSphere ... 阅读全文
posted @ 2014-09-25 15:34 amixc 阅读(594) 评论(0) 推荐(0) 编辑