session 09 – particle goal

26
Maya Dynamics Basics Lab 9: Particle Goal Author: Khieu Van Bang Email: [email protected]

Upload: tri-bang

Post on 14-Apr-2017

180 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Session 09 – particle goal

Maya Dynamics BasicsLab 9: Particle Goal

Author: Khieu Van BangEmail: [email protected]

Page 2: Session 09 – particle goal

CONTENTS

Overview Particle Goal :

What is Particle Goal ?

What we can do with Particle Goal ?

Integrated with Particle Goal :

Create Integrated with Particle Goal.

Practical situations.

Exercise:

Create a virtual experiments.

Page 3: Session 09 – particle goal

Particle Goal1) OVERVIEW PARTICLE GOAL

Page 4: Session 09 – particle goal

1.1) Goal ?

PARTICLE GOAL

Working with Particle Goal ( A goal is an object that particles follow or move towards. Youcan use goals to give trailing particles a flowing motion that’s hard to generate with otheranimation techniques. The trailing particles move as if connected to the goal by invisiblesprings. In the context of goals, soft bodies are considered particles ).

Page 5: Session 09 – particle goal

1.2) What is Particle Goal ?

PARTICLE GOAL

Particle objects are useful as goal objects because of the many techniques available foranimating particle motion. You can’t add a goal to individual particles of the particle object,but you can control how influential each particle is on the trailing object.

If the goal is a particle object, its particles attract the particles of the trailing object one forone as the animation plays. If particles in the objects do not die, the trailing particles followgoal particles based on the creation order.

If particles in either object die, the preceding scheme no longer applies. You can no longervisually predict which trailing particle will follow a particular goal particle.

If the trailing particle object has more particles than the goal object and particles don’t die ineither object, the extra particles follow the first-created particles of the goal.

For instance, suppose you create a goal object with twoparticles and a trailing object with four particles. The fourparticles would move toward the two particles like this:

Page 6: Session 09 – particle goal

1.3) What is Multiple goals ?

PARTICLE GOAL

You can use more than one goal object to affect a particle object. For each goalobject, the trailing particle object has a goal weight that sets the relative weightingof the attraction. If the goal weights are the same, each goal object attracts thetrailing object with equal strength. The trailing object moves to a position betweenthe two goal objects, typically oscillating back and forth before coming toequilibrium.

If the goal weights differ, each goal object attracts the trailing object with differentstrength. The trailing object comes to rest at a position closer to the goal with thehigher goal weight.

Page 7: Session 09 – particle goal

1.4) What we can do with Particle Goal?PARTICLE GOAL

Insect swarm Cars

WaterfallVirtual experiments Fantasy effect

Page 8: Session 09 – particle goal

1.5) Create a Particle Goal.PARTICLE GOAL

Step 1:o Select the particle object you want to be affected by the goal.o To select a soft body rather than a conventional particle object, you can

select the soft body’s original geometry or its child particle object. Step 2: Shift-select the object you want to become the goal. Step 3: Select Particles > Goal. Step 4: To adjust the goal’s influence, see Edit goal attributes. Step 5: Play the animation to see the particles move towards the goal.

1

2

Page 9: Session 09 – particle goal

1.5) Create a Particle Goal.PARTICLE GOAL

Goal Weight:o The goal weight sets how much all particles of the trailing object are

attracted to the goal.o You can set goal weight to a value between 0 and 1. A value of 0 means

that the goal’s position has no effect on the trailing particles. A value of1 moves the trailing particles to the goal object position immediately.

Use Transform as Goal:o Makes particles follow the object’s transform rather than its particles,

CVs, vertices, or lattice points.

Page 10: Session 09 – particle goal

Particle Goal2) INTEGRATED WITH PARTICLE GOAL

Page 11: Session 09 – particle goal

INTEGRATED WITH PARTICLE GOAL

o nParticle, Goal, Expression, Fields, Instanter.

o Soft Body, Rigid Body, Goals, Instanter.

o …

Create Integrated with Particle Goal.

Green sweat

Goo blowoff

Mudballs med goals

Page 12: Session 09 – particle goal

INTEGRATED WITH PARTICLE GOAL

Practical situations

o nParticle, Goal, Expression, Fields, Instanter.

Bee 1

Bee 2

Bee n

Fields

nParticle + Instanter

Bee 1

Bee

2 Bee

n

Goal

Page 13: Session 09 – particle goal

2.1) Simulation Basic Object.PRACTICAL SITUATIONS

Modeling Object.

Create animation.

Export file.

Page 14: Session 09 – particle goal

2.2) Create a Particle System.PRACTICAL SITUATIONS

Create Plan.

Create emitter.

Page 15: Session 09 – particle goal

2.3) Creating Particle Goal.PRACTICAL SITUATIONS

Select Object and Particle then Click Dynamics > Particles > Goal.

Page 16: Session 09 – particle goal

2.4) Edit attributes.PRACTICAL SITUATIONS

Add attributes. Write code in Expression.

1

2

3

4

5

6

Page 17: Session 09 – particle goal

2.4) Edit attributes.PRACTICAL SITUATIONS

Edit Goal.

Page 18: Session 09 – particle goal

PRACTICAL SITUATIONS2.4) Edit attributes.

Edit Expression.

Page 19: Session 09 – particle goal

2.5) Adding Fields.PRACTICAL SITUATIONS

Page 20: Session 09 – particle goal

2.6) Particle Instancer.

PRACTICAL SITUATIONS

Page 21: Session 09 – particle goal

2.6) Particle Instancer.

PRACTICAL SITUATIONS

Page 22: Session 09 – particle goal

2.6) Particle Instancer.

PRACTICAL SITUATIONS

Page 23: Session 09 – particle goal

Particle Goal2) EXAMPLES

Page 24: Session 09 – particle goal

Create a virtual experiments.

EXERCISE

Molecular run when power off Molecular run when power on

Page 25: Session 09 – particle goal

How to ?

EXERCISE

Molecular run when power off Molecular run when power on

Step 1: Modeling Objects. Step 2: Create four Emitter(Na+; Cl-; H+, O- ); Step 3: Create Particle Gold. Step 4: Create Particle Instancer.

Page 26: Session 09 – particle goal

Thanks!