Variable ratio for fluids

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  01 January 2013
Variable ratio for fluids

Hi! I don't think it is possible, but is there any workaround in order to have a "variable" ratio or frequency or frequency ratio in the texture of a fluid in maya?

Maybe it's not clear. Let's say I have a sphere of smoke, and I texture it with a frequency ratio of 2.5 and a ratio of 0.7. Now it shapes my smoke by a frequency ratio of 2.5 evenly in the container. Is it possible - in a workaround of some sort - to have a range for the frequency, like *from* 1.5 *to* 3?... Big dream right?

I tried with expressions and 3D textures with no success. Even if the texturing process is in 3D, it seems like these values are locked in a 0-1 configuration with no control on the 3D distribution in the container.
 
  01 January 2013
You can map it with a 3d texture, however by default the map will be evaluted only at the outer edge of the fluid cube. This evaluated texture value then gets used for the entire rayspan through the fluid. To do additional evaluations of the 3D texture within the fluid volume you need to enable volumeSamplesOverride on the fluid shape and increase the volumeSamples.
 
  01 January 2013
... unvaluable extremely useful and complicated hidden knowledge.

Thanks a lot for taking time to help Duncan, and... nice meeting you!

I will try again with 3d textures.
 
  02 February 2013
You were right Duncan,

it works and it works great, I'm glad you passed by.

Thanks
 
  02 February 2013
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



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
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:21 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.