01 January 2013 | |
![]() |
|
Expert
portfolio
emg
Canada
|
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 | |
![]() |
|
Expert
Duncan Brinsmead
Principal Scientist
Autodesk
Canada
|
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 | |
![]() |
|
Expert
portfolio
emg
Canada
|
... 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 | |
![]() |
|
Expert
portfolio
emg
Canada
|
You were right Duncan,
it works and it works great, I'm glad you passed by. Thanks |
02 February 2013 | |
![]() |
|
Expert
|
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 |
«
Previous Thread
|
Next Thread
»
|
|
|