摘要: 添加脚本位置 First Person Controller: 添加CameraSwitch脚本 下层物体 graphic MainCamera AnimationCamera:从3dmax中导入,添加CameraSwitch脚本 下层物体 camera 新建并作为子物体cameraswitch代码:var camera1 : Camera; var camera2 : Camera;//var ... 阅读全文
posted @ 2010-11-17 11:39 softimagewht 阅读(1984) 评论(0) 推荐(0)
摘要: Link:http://blog.sina.com.cn/s/blog_4a2183a60100niet.htmlTransform 变换,是场景中最常打交道的类,用于控制物体的位移,旋转,缩放等功能。 TransformClass, inherits from Component, IEnumerablePosition, rotation and scale of an object.控制物体... 阅读全文
posted @ 2010-11-16 13:51 softimagewht 阅读(2107) 评论(0) 推荐(0)
摘要: Quaternion学习与应用标签:四元数unity3dquaternion分类: Unity3D 今天准备学习和研究下unity3d的四元数 Quaternion四元数在电脑图形学中用于表示物体的旋转,在unity中由x,y,z,w 表示四个值。四元数是最简单的超复数。复数是由实数加上元素 i 组成,其中i^2 = -1 \,。 相似地,四元数都是由实数加上三个元素 i、j、k 组成,而且它们有... 阅读全文
posted @ 2010-11-16 11:16 softimagewht 阅读(15338) 评论(1) 推荐(0)
摘要: function OnGUI(){ GUI.Label(Rect(1,1,100,20),"I'm a Label"); //1 GUI.Box(Rect(1,21,100,20),"I'm a Box"); //2 GUI.Button(Rect(1,41,100,20),"I'm a Button"); //3 GUI.RepeatButton(Rect(1,61,120,20),"I'm a RepeatButton"); //4 GUI.TextField(Rect(1,81,100,20),"I'm a TextFielld"); //5 GUI.TextArea(Rect 阅读全文
posted @ 2010-11-14 01:48 softimagewht 阅读(257) 评论(0) 推荐(0)
摘要: var oldman:GameObject; oldman.animation.Stop(); function Update () { if(Input.GetKey("w")) { transform.Translate(0, -4* Time.deltaTime,0); oldman.animation.Play("wave"); } if(Input.GetKe... 阅读全文
posted @ 2010-11-12 17:38 softimagewht 阅读(287) 评论(0) 推荐(0)
摘要: 代码 阅读全文
posted @ 2010-11-11 21:21 softimagewht 阅读(315) 评论(0) 推荐(0)
摘要: 技术美工总监CCP is looking for a Technical Art Director to develop and support the art production pipeline for Dust 514. The Technical Art Director leads a team of technical artists who will interface with ... 阅读全文
posted @ 2010-10-19 22:49 softimagewht 阅读(441) 评论(0) 推荐(0)
摘要: 最近CryEngine3已经发布了(实际上已经到3.1了),看到很多朋友都想要拿到最新的版本,在这里附上具体的申请方法。楼主看到了,麻烦看看能不能置个顶。CryEngine对于教育机构是有免费授权的。实际上授权也十分宽松,我大概看了下授权书,基本上只要不泄露源代码,不进行商业使用,都不会有法律方面的问题。首先,请访问 http://mycryengine.com。你应该看到在页面的右下位置有个“R... 阅读全文
posted @ 2010-09-25 20:16 softimagewht 阅读(796) 评论(0) 推荐(0)
摘要: /*test areamakeStretchyBones()*/fn makeStretchyBones=(pts=#()for x in selection do(pt=point size:0.4 centermarker:false axistripod:false cross:false box:true wireColor:[200,0,0]pt.transform=x.transformappend pts pt)for i = 1 to (selection.count) do(b=selection[i]posCon=position_constraint()lookAtCon 阅读全文
posted @ 2010-09-25 15:33 softimagewht 阅读(630) 评论(0) 推荐(0)
摘要: /*Creates an on screen control for facial animation.facialControl()*/fn facialControl=(rec=Rectangle length:10 width:10 name:(uniqueName "FaceControl") wireColor:[0,0,200] displayRenderMesh:falsecir=c... 阅读全文
posted @ 2010-09-25 14:56 softimagewht 阅读(440) 评论(0) 推荐(0)