SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 20-11-2003, 01:01 AM   #1
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default turbulence

I'm trying to make a particle system that deforms like ocean water but with instanced objects. I made a plane of particles, and I'm trying to use turbulence on them, but I can't seem to control the turbulence. Anyone know how to just affect the Y axis? I've tried setting 2 of the 3 phase values to 0 (X & Z, X & Y, and Y & Z), and in each case the particles move in all 3 axis.

Another option is to write MEL that will cause the particles to undulate, but so far I haven't figured out how to do that either.

Thanks for the help.
-dann

Last edited by Dann : 20-11-2003 at 01:24 AM.
Dann is offline   Reply With Quote
Old 20-11-2003, 05:09 AM   #2
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Tip/trick:

I havn't tried this, but if you break out one of Maya's default canned ocean example fluids, they come with a HEIGHTFIELD NODE.

This node effects a nurbs plane (that does NOT render btw) to give you a pseudo-preview what your ocean waves will look like before rendertime.

But what if you selected that plane, and tweaked the ocean shader/texture to wave and peak like you want,
THEN:

make the ocean not visible
then make the nurbs surface a surface emitter, but make the emitted particles have an attenuation setting so that they just spawn, then stop moving outwards.

So, then, in theory, they will just "ride the waves" and depending on how dense your instances are, it could very much look like the animation you are looking for

Good luck, and lemme know if that works


PS, I think you can do this also without the oceam fluid too.
Just do a doc search on usage of the heightfield node with a nurbs plane so that you can try this with a lighter scene
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 20-11-2003, 05:07 PM   #3
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Rage,

I thought of that, but I don't have fluids at work. However, My next thought was just to make a plane, give it a lattice, make some clusters, and animate it deforming. The thing is, my particles don't seem to care about the deformation. I've tried making my plane a surface emitter, and a directional emitter, but neither of them work. The particles ignore the plane's deformations once emitted. I've tried tweaking the weight, conserve, inherit, and emmision in world settings, but to no avail.

How do you make them "ride the waves"?

Thanks.
Dann is offline   Reply With Quote
Old 21-11-2003, 01:02 AM   #4
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Well, without the Heightfield node trick, you could also try:

Download and use the Noise turbulence melscript from Highend,
or the channel-noise mel from Dirk Baluch's site on your nurbs plane geometry to get a pseudo-wave look.

You could also try using blend-shapes to get your wavy look by using the Paint tool to deform your geometry, then making that a blendshape for other tweaks over time and key the changes to get your wavy geometry.

Or, similarly, you could just use the Paint tool and just key your vertice positions over time.


Then, make the surface LIVE. (check the docs regarding that)

Then "Paint" particles onto your LIVE geometry, then do your instancing etc.
and they "should" then follow the deforming geometry.

Lemme know if any of that helped
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.