摘要: using UnityEngine; using System.Collections; using UnityEditor; /// <summary> /// 根据命名快速捕获场景物体轴心点 /// </summary> public class QuickGetPivot : EditorWi 阅读全文
posted @ 2015-06-02 19:07 GamePal 阅读(877) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class SportManAni : MonoBehaviour { // Use this for initialization void Start () { } bool CanControl 阅读全文
posted @ 2013-06-26 15:11 GamePal 阅读(280) 评论(0) 推荐(0) 编辑
摘要: global proc plantForest() { if(`window -ex plantForestWindow`) deleteUI plantForestWindow; window -title "Forest Gallary" -widthHeight 600 100 -sizeab 阅读全文
posted @ 2013-05-03 14:25 GamePal 阅读(237) 评论(0) 推荐(0) 编辑
摘要: var target : Transform;var xSpeed = 250.0;var ySpeed = 120.0;var yMinLimit = -20;var yMaxLimit = 80;var initDis = 20;var minDis = 3.0;var maxDis = 50. 阅读全文
posted @ 2012-08-23 09:20 GamePal 阅读(2555) 评论(0) 推荐(0) 编辑
摘要: #! D:/Program Files/Nuke6.3v4/Nuke6.3.exe -nxversion 6.3 v4define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?><layout version="1.0"> <win 阅读全文
posted @ 2012-07-17 09:40 GamePal 阅读(1392) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class txtField : MonoBehaviour { private GameObject targetObj; private GameObject cubeObj; private G 阅读全文
posted @ 2012-06-02 15:12 GamePal 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class PlayMovie : MonoBehaviour { // Use this for initialization public MovieTexture movTexture; pri 阅读全文
posted @ 2012-06-01 04:16 GamePal 阅读(291) 评论(0) 推荐(0) 编辑
摘要: /* Script Node execute on:Open/Close */ $left_scriptJob =`scriptJob -ac IKFK_cv_ctr.IKFK IKFK -cu 1 -pro`; global proc IKFK() { float $an=`getAttr IKF 阅读全文
posted @ 2012-02-03 13:07 GamePal 阅读(668) 评论(0) 推荐(0) 编辑
摘要: rollout unnamedRollout "Untitled" width:160 height:194( label lbl1 "删除不用修改器" pos:[32,17] width:104 height:24 dropdownList ddl1 "DropDownList" pos:[34, 阅读全文
posted @ 2011-11-18 11:21 GamePal 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: rollout fan "扇子" width:162 height:212( spinner spn1 "扇叶" pos:[16,16] width:131 height:16 range:[0,100,10] type:#integer spinner spn2 "每扇叶旋转角度" pos:[16 阅读全文
posted @ 2011-11-17 14:53 GamePal 阅读(284) 评论(0) 推荐(0) 编辑
摘要: scaleControl = attributes Scaleattribute( rollout scale_change "缩放控制" width:185 height:231 ( spinner spn8 "x_Scale" pos:[19,22] width:133 height:16 ra 阅读全文
posted @ 2011-11-16 11:29 GamePal 阅读(895) 评论(0) 推荐(0) 编辑
摘要: rollout unnamedRollout "Untitled" width:162 height:235( slider sld1 "Slider" pos:[24,16] width:114 height:44 Timer tmr1 "计时器" pos:[27,82] width:24 hei 阅读全文
posted @ 2011-11-16 10:53 GamePal 阅读(465) 评论(0) 推荐(0) 编辑
摘要: rollout unnamedRollout "Untitled" width:162 height:235( spinner spn1 "球体半径" pos:[18,14] width:119 height:16 spinner spn2 "球体数目" pos:[15,49] width:119 阅读全文
posted @ 2011-11-16 10:25 GamePal 阅读(558) 评论(0) 推荐(0) 编辑
摘要: rollout unnamedRollout "Untitled" width:162 height:300(radiobuttons rdo1 "漫反射颜色" pos:[22,20] width:65 height:62 labels:#("red", "yellow", "orange")on ... 阅读全文
posted @ 2011-11-16 10:00 GamePal 阅读(598) 评论(0) 推荐(0) 编辑
摘要: rollout unnamedRollout "Untitled" width:239 height:382( groupBox grp2 "隐藏类" pos:[11,10] width:213 height:62 checkbox chk1 "隐藏" pos:[27,32] width:142 h 阅读全文
posted @ 2011-11-16 09:43 GamePal 阅读(434) 评论(0) 推荐(0) 编辑
摘要: rollout unnamedRollout "Untitled" width:269 height:320(button btn1 "拾取物体" pos:[136,140] width:93 height:23listbox lbx1 "物体列表" pos:[19,49] width:96 hei... 阅读全文
posted @ 2011-11-16 09:31 GamePal 阅读(420) 评论(0) 推荐(0) 编辑
摘要: rollout test "测试" width:160 height:272(dropdownList ddl1 "按类别删除" pos:[32,24] width:106 height:41 items:#("删除几何体", "删除灯光", "删除图形") selection:0listbox lbx1 "物体列表" pos:[32,88] width:97 height:4button btn15 "拾取物体" pos:[32,208] width:9 阅读全文
posted @ 2011-11-15 15:23 GamePal 阅读(809) 评论(0) 推荐(0) 编辑
摘要: rollout test "测试" width:162 height:252(combobox cbx1 "按类别选择" pos:[12,13] width:120 height:6 items:#("选择球体", "选择圆柱体", "选择立方体") selection:0button btn12 "取消选择" pos:[19,148] width:108 height:28on cbx1 doubleClicked sel do(case sel of(1: (for a 阅读全文
posted @ 2011-11-15 14:48 GamePal 阅读(248) 评论(0) 推荐(0) 编辑
摘要: rollout buttonRol "按钮测试" width:170 height:345(mapButton btn1 "物体贴图" pos:[40,30] width:85 height:22materialButton btn2 "物体材质" pos:[40,70] width:85 height:22pickbutton btn3 "拾取物体" pos:[40,114] width:85 height:22checkbutton ckb1 "隐藏设置" pos:[40,152] widt 阅读全文
posted @ 2011-11-15 11:06 GamePal 阅读(584) 评论(0) 推荐(0) 编辑
摘要: rollout choseOper "Choose Operator" width:171 height:220( button btn1 "加选立方体" pos:[24,24] width:109 height:23 button btn2 "加选圆柱体" pos:[24,64] width:10 阅读全文
posted @ 2011-11-15 10:40 GamePal 阅读(412) 评论(0) 推荐(0) 编辑
摘要: a = cylinder radius:5 height:10animate on (at time 20 a.height=100 at time 30 a.height=20)animate on (at time 0 a.height=20)for x=0 to 9 do for y=0 to 阅读全文
posted @ 2011-11-15 09:42 GamePal 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 1 sphere() 2 3 select objects 4 5 a = $ 6 7 a.segs = 32 8 9 a.material = standard() 10 11 a.material = standard diffuse:orange 12 13 a.material.specular_level=70 14 15 a.material.glo... 阅读全文
posted @ 2011-11-10 11:56 GamePal 阅读(1310) 评论(0) 推荐(0) 编辑
摘要: 1 create sphere 2 create plane 3 create material matte shadow, then assign to plane 3 choose another material sphere for sphere geometry , change it's 阅读全文
posted @ 2011-11-10 11:38 GamePal 阅读(304) 评论(0) 推荐(0) 编辑
摘要: for a in selection do movekeys a (x+=3)for a in selection do addmodifier a (optimize())---------------------------------------------------------------------------for i=0 to 360 do sphere radius:1 po... 阅读全文
posted @ 2011-11-07 09:34 GamePal 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 再来一张 给自己加油! 阅读全文
posted @ 2011-07-12 15:17 GamePal 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 第一次用Houdini做东西.路还很漫长,留张图自勉. 阅读全文
posted @ 2011-07-03 13:22 GamePal 阅读(189) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2011-06-11 19:12 GamePal 阅读(159) 评论(0) 推荐(0) 编辑
摘要: * SOP = Surface OP (3D = geometry modeling) * POP = Particle OP * SHOP = Shader OP * COP = Composite OP (2D = compositing, image processing) * CHOP = 阅读全文
posted @ 2011-06-11 08:11 GamePal 阅读(135) 评论(0) 推荐(0) 编辑
摘要: import maya.cmds as cmdsdef edgeCutter(): cmds.polySplitEdge() #split one or more edges so that each face that shared the vertex acquires its own copy 阅读全文
posted @ 2011-03-14 13:41 GamePal 阅读(213) 评论(0) 推荐(0) 编辑
摘要: import maya.cmds as cmdsdef oddFacesCheck(): objFaces = cmds.polyListComponentConversion(tf=True) cmds.select(objFaces) tmpFaces = cmds.ls(fl=True, sl 阅读全文
posted @ 2011-03-06 14:07 GamePal 阅读(197) 评论(0) 推荐(0) 编辑
摘要: import maya.cmds as cmdsimport relayer_List = cmds.ls(type ='renderLayer')layer_Nuke = [u'color', u'occ', u'shadow',u'specular']myIntersector = cmds.s 阅读全文
posted @ 2011-02-28 09:08 GamePal 阅读(395) 评论(0) 推荐(0) 编辑
摘要: import maya.cmds as mclsT=mc.ls(type="transform")Group=[]for i in lsT: lsS=mc.listRelatives(i,shapes=1) if(not lsS): if mc.nodeType(i)!="joint": Group 阅读全文
posted @ 2011-02-23 09:24 GamePal 阅读(176) 评论(0) 推荐(0) 编辑
摘要: import maya.cmds as cmdsimport randomselCurves = cmds.ls(sl=True)for crv in selCurves: cmds.rebuildCurve(crv, end=1, kr=0); randValue = str(random.uni 阅读全文
posted @ 2011-02-21 13:15 GamePal 阅读(192) 评论(0) 推荐(0) 编辑
摘要: //create shave rib fileglobal proc myShaveWriteProcedure(){ int $f; for ($f =1; $f <=25; $f++) { currentTime $f; string $writeCmd ="shaveWriteRib -fra 阅读全文
posted @ 2011-02-17 14:25 GamePal 阅读(164) 评论(0) 推荐(0) 编辑