Register Latest Topics
 
 
 


Reply
  Author   Comment  
p0las

First taste
Registered:
Posts: 14
Reply with quote  #1 
hi,
Somehow this trivial problem seems impossible to accomplish in maya.
Is it possible to emit density to a fluid container from a 3d texture (perlin noise for instance)? I can potentially write a script to iterate through voxels and set the values but I would prefer to use something fast :-)
thanks.
0
pshipkov

SOuP Jedi
Registered:
Posts: 4,712
Reply with quote  #2 
Check the OverBurn's voxel editor (first item under the second button on the SOuP shelf).
You need to click the "T" button on the right side of the "density" line in the GUI.

This is the simple way of doing it.
Same (and much more) can be done using SOuP nodes, but it does not sound like you need that yet.
0
p0las

First taste
Registered:
Posts: 14
Reply with quote  #3 
thank you mate. overburn seems to be a very brute force solution that creates locators for each voxel... 40x40x40 grid basically kills my maya.
I would love to get your advice on hooking soup nodes together to create an emitter that can be controlled with a 3d texture. Meantime I'm writing a plugin and scratching my head not understanding why this functionality is not provided in the industry standard 3d software...
0
MOAB

Wanting the recipes
Registered:
Posts: 50
Reply with quote  #4 
Here a quick setup I did using only openVDB.
I started with a sphere, then I converted it to VDB and after that I used a VDB Flow noise to affect the density inside the VDB grid. Finally you just have to convert this VDB grid to a Maya Fluid. Everything works pretty fast.

VDB_FlowNoiseToMayaFluids.jpg 

 
Attached Files
mb VDB_FlowNoiseMayaFluids.mb (94.72 KB, 7 views)

0
MOAB

Wanting the recipes
Registered:
Posts: 50
Reply with quote  #5 
Remenber you can also affect vdb grids data with vdb get/set data...
https://www.youtube.com/user/TheBesha1/videos
0
p0las

First taste
Registered:
Posts: 14
Reply with quote  #6 
ah you used vdb tools to do it... I'm an idiot. I was trying to do it before converting to vdb... thank you for your help! appreciate.
0
pshipkov

SOuP Jedi
Registered:
Posts: 4,712
Reply with quote  #7 
Almost forgot about this thread.
Attached you an example with direct drive to the pointCloudFluidEmitter.

 
Attached Files
ma fluid_emission_from_prcedural_3d_texture.ma (96.49 KB, 15 views)

0
p0las

First taste
Registered:
Posts: 14
Reply with quote  #8 
thank you mate. your example is very cool. I wrote a plugin for maya that does textured emission but it doesn't allow me to preview it in real time like your solution (I actually have to play to emit something to see it).
0
pshipkov

SOuP Jedi
Registered:
Posts: 4,712
Reply with quote  #9 

Glad you like it !

Yeah, displaying data in the viewport is more work than just dealing with the data itself.

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: