View Full Version : bubble tutorial :|
davezak 08-27-2005, 08:31 PM hello.
any tips or direction to a solid tutorial would be much apreciated for my simple request.
I just want a simple bubble liquid enviroment.. like your inside a sprite bottle. just want to run a cemera around in it for a background to a video.
i am familiar with 3d studio max and maya, but have maya on my new mac :) so want to master maya (no such thing)
anyways i played with some particles reverse gravity ect. but im slightly impatient and this isnt that important at the moment really.
any help is appreciated :)
maybe someone one has something good with tips about animating water in maya as well? could be helpful to many.
thx eh!
get inspired:
bubblesqueak (http://www.bubblesqueak.com)
blur (http://www.blur.com)
|
|
annaleah
08-27-2005, 11:11 PM
Paint Affects...
MikeRhone
08-28-2005, 12:25 AM
Ok, here is a quick rundown of a simple setup for what you want to do
I wouldn't use a gravity... In all cases. Ever. for all time.
I would use a uniform field. Uniform is the "exact" same as gravity, but uniform fields also respect particle mass. This allows for arandomization in bubbles' speed towards the surface. Set the uniform:
Direction: 0 1 0
Attentuation: 0
Magnitude: 10
Create a surface emitter so that the particles form on the bottom of the glass. Make the particles render type 'sphere'. These are our bubbles
Set the particles conserve value to 0. This way, they wont keep accelerating through the animation. Set a random value for radiusPP, and tie that in to mass so that bigger bubbles rise slower than small ones.
I have attatched a very quick scene for you to see what Im talking about. I have also added a locator at the top of the glass. This controls the height at which the particles will die at. (Faster to calculate than creating a collision object). The translateY of the locator is tied into the runtime expression on the particle. Once a particle reaches that hieght, the particles lifespan is set to 0 (Dies).
I hope this helps, and feel free to ask any questions if I don't make sense. I've tried to keep the scene clean as possible, and I have //commented in the particle expression.
Right click and "Save target as..." (http://www.wingman.ca/maya1/BubbleExample_6.0.ma)
Best of luck!
M
P.S. Be sure to render the bubbles with a refractive shader so they look realistic!
MikeRhone
08-28-2005, 12:28 AM
Oh, and as a second note, for water in Maya... I would recommend realFlow if you need realism. Glu3d is also a possibility and its integrates right into Maya. Getting nice true liquid straight out of Maya is difficult at best.
http://www.nextlimit.com/realflow/
http://3daliens.com/glu3D/index.htm
m
davezak
08-28-2005, 07:25 AM
ah thank you sir i will dive into this.
hopefully this can help others as well.
you are a scholar :)
GlennimusPrime
10-16-2005, 10:21 PM
Cheers Mike, you've helped me out a tonne too! (and many others I'm sure)
reven
10-16-2005, 10:27 PM
yes thanks for the mini tutorial...seems very useful and will be trying it out!
FloydBishop
10-17-2005, 03:59 AM
Nice sample file, Mike. One note I might add would be that you could make the particles blobbies... then there is no need to hardware render.
thematt
10-17-2005, 08:26 AM
Nice mike...
If i can add something, I'd would say, that once you use the Uniform field, changing the weight of the bubble as a PPattribute, will make them offset meaning some will go up faster than others).
To do that just add a rand exresion :"rand (0.7,1) " to the mass attr of your particle.
You can also use an other field such as turbulance to make them more random.
Ps: sorry mike if it's already in the file didn't check it.
cheers
annaleah
10-18-2005, 01:18 AM
So......no hope for the PA advice?
I thought the bubbles PA preset brush was cute though.....
I wonder if he ever got the bubbles for his Sprite bottle finished?
davezak
02-20-2006, 02:05 PM
forgot about this thread after getting my answers so quickly from you guys! very helpful honestly.
using surface emmitters on spinning corkscrew shapes to make tornadoes. fog, water, fire. how exciting.
what is amazing for this... is the unreal engine. so powerful and in real time.
what a cool industry eh! im gonna spend all day making static meshes for my mansion :P
CGTalk Moderation
02-20-2006, 02:05 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.