View Full Version : how to do this kind of effect ?

 Polimeno06 June 2008, 01:13 AMhttp://farm1.static.flickr.com/170/424766082_5f086a22d2.jpg?v=0 how to do some particles getting out of a character mouth ??? BUT if have to make them making forms and mass while following some paths in spiral ??? i just couldnīt think a way to do that.....
CapitanRed
06 June 2008, 12:40 PM
particlePosition = [sin(Time*360)*radius, cos(Time*360)*radius, particleAge ] would give you spirals going upwards spinning 360° every second...

Glacierise
06 June 2008, 03:39 PM
Hehe, nice one, Captain! Another way is to use the speed by icon operator - you can pass particles to it at different points, and if it's path constrained to a spiral, the particles will perform the move too.

spaw
06 June 2008, 07:15 PM
Not sure i understand youre setup. would you mind building a small sample file?

Thanks

-Michael

Glacierise
06 June 2008, 11:13 PM
Here you go ;)

Polimeno
06 June 2008, 12:08 AM
Here you go ;)

What MAX version are you using ?

send in Max9....

* EDIT

i think i didnīt express myself right, iīll colect more references to show better....

my first test......(far for what i want)

Polimeno
06 June 2008, 01:28 AM
http://ia.media-imdb.com/images/M/MV5BMTM0MzM0MDgxNV5BMl5BanBnXkFtZTYwMDU5NjM3._V1._SX475_SY281_.jpg

remember this scene in first MUMMY film (1999) ???

while "the mummy" open his mouth blows particles and throw a "parasite insects" effect.....

this is PART what i need,
because also want the particles to follow eight splines in spiral to achive forms......

oO?

Polimeno
06 June 2008, 05:40 AM
not yet.....

Glacierise
06 June 2008, 06:48 AM
Haven't seen the movie, regretably. But I hope you're on your way to achieving the effect - post again if you have a more concrete question.

Polimeno
06 June 2008, 08:32 AM
Haven't seen the movie, regretably. But I hope you're on your way to achieving the effect - post again if you have a more concrete question.

resume:
animate particles outside mouth while character blow.
particles have to travel in 8 spiral forms

particlePosition = [sin(Time*360)*radius, cos(Time*360)*radius, particleAge ] would give you spirals going upwards spinning 360° every second...

how to put it inside the SCRIPT operator ?

EDIT:
let say i have 1 cylinder that have a face extruded along a spline.....
is it possible to make particles passing and traveling inside it, respecting the volume of gemoetry ?

like an air passing inside a pipe ???

Glacierise
06 June 2008, 09:37 AM
resume:
animate particles outside mouth while character blow.
particles have to travel in 8 spiral forms

Split your flow into 8 events (with split amount operators) and create the 8 different spirals, with 8 speed-by-icons.

let say i have 1 cylinder that have a face extruded along a spline.....
is it possible to make particles passing and traveling inside it, respecting the volume of gemoetry ?

like an air passing inside a pipe ???

Just use a spline to drive them, again with speed by icon, using the 'steer towards trajectory' option.

Polimeno
06 June 2008, 10:27 AM

can you send me a MAX9 file ?

Glacierise
06 June 2008, 01:10 PM
I can't, sorry, no max 9 here.

CapitanRed
06 June 2008, 01:37 PM
is this the motion you were looking for??

Wicked
06 June 2008, 09:44 PM
is this the motion you were looking for??

Nicely done! Good job! :thumbsup:

Polimeno
06 June 2008, 09:47 PM
Glacierise - ok, no problem.

CapitanRed - yes ! thanks !!
=)

avolution
10 October 2008, 06:49 PM
What radius is this referencing? I added this line into a script op and it totally errored out!

(

pCont.usePosition =true
pCont.useAge=true

)

on Init pCont do
(

)

on Proceed pCont do
(
count = pCont.NumParticles()
for i in 1 to count do
(
pCont.particleIndex = i
CurID=pCont.particleID

--if (pCont.particleNew) then

(

)
)
)

on Release pCont do
(

)

particlePosition = [sin(Time*360)*radius, cos(Time*360)*radius, particleAge ] would give you spirals going upwards spinning 360° every second...

CapitanRed
10 October 2008, 09:30 PM
well, you have to define the radius somewhere before in the scirpt.

like: