Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 04-04-2006, 07:50 PM   #1
ronkhmps
Subscriber
 
ronkhmps's Avatar
 
Join Date: Sep 2005
Posts: 51
Thanks: 0
Thanked 1 Time in 1 Post
Default problem with 2d fluid container

hello
I have created a 2d fluid container and after typing a script I could manage to simulate a rain effect on it. but I can not put it as a material on a nurbs plane.
anyone knows what the problem is?
__________________
rsh
ronkhmps is offline   Reply With Quote
Old 04-04-2006, 10:04 PM   #2
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure what you're talking about. You want the fluid to be the material on the NURBS surface or you want the fluid to influence the NURBS surface so that it moves??
__________________
James Rogers
www.morphicmotion.com
Velusion is offline   Reply With Quote
Old 05-04-2006, 04:43 PM   #3
ronkhmps
Subscriber
 
ronkhmps's Avatar
 
Join Date: Sep 2005
Posts: 51
Thanks: 0
Thanked 1 Time in 1 Post
Default mappint 2d fluid container on nirbs surface

hello
I have attached the file
so you see exactly what I mean
Attached Files
File Type: mb rain.mb (56.9 KB, 21 views)
__________________
rsh
ronkhmps is offline   Reply With Quote
Old 05-04-2006, 05:43 PM   #4
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't have time to review your file. Can you just explain what you're trying to do?
__________________
James Rogers
www.morphicmotion.com
Velusion is offline   Reply With Quote
Old 05-04-2006, 06:37 PM   #5
ronkhmps
Subscriber
 
ronkhmps's Avatar
 
Join Date: Sep 2005
Posts: 51
Thanks: 0
Thanked 1 Time in 1 Post
Default 2d fluid container

hello
here is the description:
there is a 2d fluid container that after colliding with particles (that drop on it) simulate the raine effect. until this moment everything is good. then because you can not see the container in render you have to map it on an actual surface which in my case is a nurbs plane. but it doesn't work and it doesn't show on the surface.
I hope it was clear
__________________
rsh
ronkhmps is offline   Reply With Quote
Old 05-04-2006, 10:04 PM   #6
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK. I still don't get it so I'll download your file and look at it tonight.

I think that maybe I understand what you're saying but I'll wait and see if I'm right. If it is what I think it is then there is a simple solution. Stay tuned....
__________________
James Rogers
www.morphicmotion.com

Last edited by Velusion : 05-04-2006 at 10:06 PM.
Velusion is offline   Reply With Quote
Old 06-04-2006, 01:36 AM   #7
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried your file. It's pretty cool. Especially if you turn the particle rate up to about 200 or so!!

Here's what you can do so that you can see the rain drops when you render.

First, You're right; you have to apply the material to an object. The fluid effect is a texture that feeds into a blinn material (blinn4 in the hypershade window)

Make a plane and assign the blinn4 material to it. You can right click on the plane and choose materials>assign existing material>blinn4.

Now the plane will have the raindrop effect on its surface. I think you probably tried this and it didn't work for you. Right? Well, the effect will be visible in the work area after you enable 'hardware texturing' under the shading dropdown above your work area (same place you turn on X-ray and stuff like that).

When you render, you have to use Maya's hardware renderer.

Today is the first time I played with the fluidtexture2D texture so I don't know much about it except that it acts just like any other 2D fluid container. All the same settings... I don't know why but the Blinn4 material doesn't turn out exactly like the 2D fluid effect. It looks similiar but kind of like it's zoomed in and kind of blocky. I played with some of the setting under the 'place2Dtexture' node but I couldn't get it to look any better. Maybe you have to use the 2D texture info to create displacement.

Give it a try and see what you can come up with.

I think the file you sent is cool. It looks like the particles that are emitted collide with the plane right below them. There is an expression that seems to be using the collision info to disturb the 2D fluidtexture. I don't really understand how it's all connected but I plan on playing around with it more sometime later.

Another way to do the same effect is to instance small NURBS or Poly spheres to the particles and have them collide with a regular 2D or 3D fluid container. This way you can get the same ripple effect but also get the fluid to splash if you want. The file that I got from you is using info from the particles colliding with the plane below them because particles don't collide with fluids BUT NURBS and Polys do!

Fluids are a pain in the ass but they start to make sense after a while. They can do a lot more than just make smoke and fire

Good luck!
__________________
James Rogers
www.morphicmotion.com

Last edited by Velusion : 06-04-2006 at 04:21 PM.
Velusion is offline   Reply With Quote
Old 06-04-2006, 04:54 PM   #8
ronkhmps
Subscriber
 
ronkhmps's Avatar
 
Join Date: Sep 2005
Posts: 51
Thanks: 0
Thanked 1 Time in 1 Post
Default thank you

thanks very much
you helped me alot
it worked
__________________
rsh
ronkhmps is offline   Reply With Quote
Old 08-04-2006, 06:14 PM   #9
Velusion
Registered User
 
Velusion's Avatar
 
Join Date: May 2004
Location: Utah, USA
Posts: 368
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's great!
Make sure you post your results. I'd like to see what you came up with.
__________________
James Rogers
www.morphicmotion.com
Velusion is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 07:26 PM
apache environment problem andrew_sorensen Simply Maya Tutorials 4 08-12-2010 03:48 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 11:56 PM
Stepping effect in fluid gubar Dynamics & Special Effects 2 03-12-2010 10:42 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.