用Maya粒子流模拟鱼群

0111_Maya_Instancer_And_Curve_Flow_Tutorial_Banner

本教学为翻译教学,转载请注明来自aboutcg.net,以及注明翻译者

原教学出自3dm3网站,原始链接如下:

http://www.3dm3.com/tutorials/maya/curve_flow/index.php

作者: Aziz Khan

翻译:Zivix (aboutcg.net)

请尊重互联网道德,转载请注明转载出处和翻译者,谢谢!

Instancer And Curve Flow Tutorial

物体关联与粒子流

Hello Friends!

大家好

In this tutorial I will show you how to use (Curve flow) with instancer to create flock of birds, insects, Fishes,

sheep’s, cows and etc. Maya has wide range of powerful effects to create unbelievable animations and visual effects, that is why the most film industries are prefer to work with Maya.


这个教学我将要向大家介绍如何使用maya的粒子流工具创建替换的鸟,鱼或者牛,羊群的群集效果,maya在这方面有卓越的能力,


这也是为什么电影工业会使用maya的原因

In this tutorial I will show you how to create flock of fish and how to control their random motion, before goingto start this tutorial I assume that you should have some thing in your scene any object it dose not matter, what object is it can be fish, bird, robot, car any thing you have but I will use fish in this tutorial, when youworking with (curve flow) you should have any (CV Curve) drawn in scene, like mine below. ok get ready we are going to start.

在这个教学中我将演示如何创建一群鱼,你可以在你的场景中准备任何别的东西,都可以,诸如鸟或者机器人什么的,以及CV曲线。

Fire up Maya if you already running just make new scene to work nice and neat.

启动maya,然后新建一个场景

1-First of all you should create some thing link in the image below if you have fish model do as same as me.

otherwise you can just follow along with single CV Curve to experience to do on yourself later on. I am using fish here if you have any object will serve.

1,首先场景中得有些什么东西,想图片演示的,我已经有了鱼,或者说,你可以弄些别的东西来沿着那条曲线运动

1

2-Now make sure you are in Dynamics type if you are not just change it to Dynamics like picture below.

2,然后切换到动力学菜单,如果没有,你最好向下图那样切换一下。

02

3-Now select the curve to use curve flow, like in image illustrated below.

3, 现在选择这个曲线

03

4-Ok with curve selected go to (Effects>>Create Curve Flow) as in picture down.

4, 然后使用(Effects>>Create Curve Flow) 创建出粒子流

04

5-Now hit play and you should see the Particles are along the path moving like image below.

5, 现在播放动画,你将会看到粒子沿着曲线运动。

05

6-Now select one of the circles which is created by Curve Flow and then increase the value of Scale in Channel Box, you should scale it little bit to have realistic motion along the curve, I have scale just on of the circles if you like you can scale them in different Sizes, like the picture illustrating down.

6, 然后选择曲线穿过的那些圆圈,缩放他们,得到更加自然的流动效果,你可以自己控制你希望缩放的大小。

06

7-Ok select the node which is in the picture below indicating.

7.选择下图所示的节点

07

8-Now in channel box give different values in Locaters value box, basically locaters are attached to circles if you change the values in locater box you will see the circles are moving too along the path, if you provide long distance between 2 circles when particles are there what will happen, particles will move fast till next circle, where the distance is short or near between 2 circles Particles will move very slow to next circle, change the distance between these circles and you will see what will happen. like in the picture below.


8,然后在通道盒中调整那些控制圆圈的Loctor的位置,当两个Loctor的位置不一样的时候,粒子流的速度也是不一样的,如果与圆圈离得较远,粒子流的速度就会加快,反之则慢。

08

9-When you happy with distance of circles its time to Convert the particles to model in scene, ok to do this first select the model in scene which you want to flow along the curve in this case I am using fish model, as I told you before you can use any object in your scene no problem then hold down the (Shift key) then just use left mouse click. as in the picture below.

9,如果你对这些圆圈的距离满意的话,你就可以使用场景中的模型物体来代理粒子了,如同我之前所说,你可以随意的使用任何的物体。

09

10-Now with the model and Particles selected go to (Particles>>Instancer (Replacement) hit the small rectangular box as like the image down.

现在,保证模型和粒子都在选择状态,使用(Particles>>Instancer (Replacement)来代理。

10

11-Now in (Particle Instancer Option) change the (AimDirection) to (Velocity) and then hit create, as in the image below.

11,在属性面板中,将(AimDirection)变成(Velocity)然后创建

11

12-Now you should see something similar like mine here, if you notice one thing the quantity of fishes too much and their overlapping each other like the picture below, how to solve the problem? ok undo Instancer and to return to the pervious status. you think that what the hell is this I am doing? its because to enhance your practice don worry keep going on.

12, 现在应该得到下图的效果了,如果主要下,可以看到鱼太多,而且交叠了,如何解决呢?我们要Undo退回去,你可能会问搞飞机啊?这么做,是为了帮助你提高实践能力。。。。

12

13-Ok when you done with undo, select that Node which we have selected in the Figure 7, and then change the values in channel box, as like the picture below,

13,如果你Undo了,选择那个第7步骤中的节点,按照图修正数据。

13

14-If you see now we have less particles like the picture below.

14, 现在看到粒子就少多了

14

15-With doing these all we still need some tweaking around the particles, ok select the Particles and then go tochannel box then change these settings as in the Image down.

15, 我们还需要路径有些扭曲,如图调整数值

15

16-Now you are pretty done you are ready now to use (Instancer (Replacement) ok now do the same which you did in figure 9, and now you should see less fishes and with nice random motion along the path, like the image indicating below.

16, 现在你可以再次关联代理物体,得到那些鱼随机沿着曲线游动的效果了。

16

And now you can play the animation and you are watching that objects are instancing very nicely along the path, you can use this technique to create Missiles, flock of birds, sheep’s, butterflies, cows, fishes, and many more. My final result is here below which I add a camera and took this final image.

最后隐藏那些曲线,播放动画,你就能看到最后完成的效果了。

 

这些最后完成加入摄像机的效果。

17
有问题可以参与答疑

0回复用Maya粒子流模拟鱼群"

留下信息

电子邮件地址不会被公开。 必填项已用*标注

验证问题,请选择下图中的 D...