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 04-04-2006, 06: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, 09: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, 03: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, 24 views)
__________________
rsh
ronkhmps is offline   Reply With Quote
Old 05-04-2006, 04: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, 05: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, 09: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 09:06 PM.
Velusion is offline   Reply With Quote
Old 06-04-2006, 12: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 03:21 PM.
Velusion is offline   Reply With Quote
Old 06-04-2006, 03: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, 05: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
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

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 06:26 PM
apache environment problem andrew_sorensen Simply Maya Tutorials 4 08-12-2010 02:48 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 10:56 PM
Stepping effect in fluid gubar Dynamics & Special Effects 2 03-12-2010 09:42 PM

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.