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 19-03-2008, 09:58 AM   #1
denkertje
Registered User
 
Join Date: Oct 2007
Location: Holland,voorburg
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default fluid texture collision

Does any one know if it is possible to make a fluid in a 2d fluid container interact with texture? What I want en mean by this is the following:

I have a movie of a dancing person shot against a green screen en turned it into a tiff sequence that is just a black and white silhouette of the dancing person. (just like what an alpha channel would look like, but now this look is the output I want)
I hope it is possible to make a fluid in a 2 d container collide with the image seqeunce of the dancing person. Just have no idea how to do it or if it is possible.

Had the idea to change the idea to use the texture as a field of height and then make it collide ,but I didnít get very far with that

Any help very much appreciated
Denkertje
denkertje is offline   Reply With Quote
Old 19-03-2008, 11:39 AM   #2
bendingiscool
Subscriber
 
bendingiscool's Avatar
 
Join Date: Jul 2006
Location: London
Posts: 567
Thanks: 0
Thanked 1 Time in 1 Post
Default

Not sure if that is possible, but you can use primitives as collision objects with fluids, haven't got maya open at mo so can't be more useful I'm afraid but I'm pretty sure under the fluid effects menu there will be stuff about collisions, similar to particle ones. You could use rough primitive as collisions and turn the visibilty off on them.

Chris
bendingiscool is offline   Reply With Quote
Old 19-03-2008, 01:48 PM   #3
denkertje
Registered User
 
Join Date: Oct 2007
Location: Holland,voorburg
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default i hope for a better solution

Tried that, and it works , okay. Just hoped I would find a better way to do it. Have the feeling there most be a way for the fluid to 'realize' it cant enter the black part of an image

Thanks for the help anyway

Denkertje
denkertje is offline   Reply With Quote
Old 19-03-2008, 02:41 PM   #4
mastone
Maniacal boy king of Babylon
 
mastone's Avatar
 
Join Date: Aug 2005
Location: the netherlands
Posts: 1,605
Thanks: 1
Thanked 59 Times in 58 Posts
Default

I'm not a fluid expert, but i know that you can influence fluids with particles and you can adjust the shape/size life and death of a particle with a texture.
For instance white equals particle life and black death so there will be particles in the white spots which in turn collide with the fluid.
But i'm afraid i don't know anymore about it than this....
mastone is offline   Reply With Quote
Old 19-03-2008, 02:47 PM   #5
denkertje
Registered User
 
Join Date: Oct 2007
Location: Holland,voorburg
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank Mastone

Somebode just mailt me this solution that is a bit simulair and seems to work great.

Hi Denkertje. Interesting idea and possible to do so. The principle involves emitting particles based on your texture and having those particle emit force which can alter the fluids. Here is a brief step list.
1. Emit (slow and short-lived) particles from your dancing person based on the texture (assigned to a poly plane presumably)
2. Create the 2d fluid texture, use paint fluids tool to add some density and set gravity to 0
3. Drop a newton field on the fluid. Select the particles, then the field and from the field menu, click Use Selected as Source of Field. Turn on Special Effect - Use per vertex in the field. With this, each particle can emit a newton field and each particle appears from the texture.
4. In the field, enable Max Distance and increase the magnitude and tweak the attenuation as desired.


Thanks for the help everyone!

Denkertje
denkertje 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
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.