摘要: 收集整个场景的用到的贴图,USEDMAP会收集到重复的贴图并合并入数组,所以要自己写代码剔除掉textrue_arrary = usedmaps()temparrary = #()for i =1 to textrue_arrary.count do (if finditem temparrary textrue_arrary[i] == 0 do append temparrary textrue_arrary[i])temparrary 阅读全文
posted @ 2010-07-26 16:41 softimagewht 阅读(384) 评论(0) 推荐(0)
摘要: rollout renderpictrue "render" width:162 height:300( spinner spn2 "" pos:[70,80] width:46 height:16 range:[0,10000,640] type:#integer scale:1 spinner spn3 "" pos:[70,100] width:46 height:16 range:[0,10000,480] type:#integer scale:1 button btn1 "渲染" pos:[7,129] 阅读全文
posted @ 2010-07-26 16:38 softimagewht 阅读(466) 评论(1) 推荐(0)
摘要: updateShape $max modify modesubobjectLevel = 1splinecount=numSplines $for i = 1 to splinecount do( numbervet = (numSegments $ i)+1 if isClosed $ i then continue else setKnotSelection $ i #(1,numbervet)) updateShape $ 阅读全文
posted @ 2010-07-26 16:29 softimagewht 阅读(247) 评论(0) 推荐(0)