CGArt-中国CGer中的绿色家园
首页 信息动态 原创排行 互动教程 资源千寻 CG人才 CGArt杂志 艺术设计 CG画廊 CG论坛 酷站欣赏 CG搜索 会员中心
如何获得曲线的最近点 Maya
作者:dq 编辑: 发布时间:2005年07月15日 02:56:49

大家都知道,如果要做一个物体沿一曲线运动,可以用命令 attach to motion path,但是,我想要更为灵活的控制该如何做呢?

打开 script editor 窗口,写入命令:
createNode closestPointOnCurve; 按小键盘ENTER键执行.如图2.

好的,现在我们就建立了一个closestPointOnCurve1的节点.
打开outliner和hypergraph窗口.用中键将 locator1 、curveShape1、nurbsSphere1 和closestPointOnCurve1节点拖入hypergraph窗口,如图3

用中键拖动 curveShape1到closestPointOnCurve1节点,选other. 打开 connection editor 窗口,点选如图4,

同理,将locator1拖到closestPointOnCurve1,选other,如图5



将closestPointOnCurve1拖到nurbsSphere1,如图6,

好的,现在关闭所有窗口,移动LOCATOR试试看,如何?你可以对LOCATOR作动画,达到你的目的。好了,就到这吧,希望大家喜欢。

新闻标题 发布 时间
猫的制作_MAYA 2005年07月25日 05:21:45
制作一间老房子 2005年07月25日 05:08:31
使用L-Glass 的製作玻璃效果_MAYA 2005年07月25日 04:51:07
Maya编织物建模教程 2005年07月25日 04:41:05
Maya螺纹建模教程 2005年07月25日 04:30:54
处理NURBS接缝_maya 2005年07月20日 06:18:16
(??易)不銹??的??用-Maya 2005年07月17日 12:48:34
Maya教程之车灯 2005年04月16日 18:20:40
共有评论0条
更多评论..
作者信息 详细信息
评论人:
验证码:
内容:
 
about us advertisement publish conformity service cooperate associate link site map contact us help jump to the top of page