MuadDib

Hi all,

I've browsed the forums and searched online but haven't found a solution yet. I've got a particle emitter that emits particles based on the color of a texture. I then got the particle to emit a fluid and am now trying to make the fluid the same color as the emitted particle. Does any one have any ideas?

 

I got the fluid to emit from the particle using Fluid effects > Add/edit contents > emit from object

 

I tried emit fluid color but that just emits a designated color and I can't find a way to link the particle color to the fluid color. I'm learning maya so need a heads up.


TIA

Reply 0 0
pshipkov
Missionaria Protectiva established long ago node called pointCloudFluidEmitter (pcfe).

Check the example scenes to see how it is used - it is pretty straightforward. Select the fluid - apply the pcfe (using the soup shelf - it will automatically connect it to the container). Then connect particles.position to pcfe.inPositionPP and particles.rgbPP to pcfe.inRgbPP. That's all.
Reply 0 0
MuadDib

Hi,

I've checked my soup installation and the three icons that are displayed are:

Nodes/Tools/Connect

However my Nodes only contains items up to the letter C, from arrayBlend to createArray

if I right click on the soup shelf, nothing happens. Ive checked the icons, the shelf file, the soup.mll.


However I have never seen the extra icons detailed here:

http://www.soup-dev.com/wiki/Main_Page_files/InstallShelf.jpg

I've also checked the soup_shelf file and it only contains 3 buttons.

Is there something wrong with my installation?

----

Edit: Soup.mll wasn't loaded even though I checked load and autoload. I restarted and then saw a full list of items (dropdown list/no icons). Also for windows its left click to see the items.

I'll test it out.

thanks

 

Reply 0 0
MuadDib
"Then connect particles.position to pcfe.inPositionPP and particles.rgbPP to pcfe.inRgbPP."

ok I've tried node editor, expression editor but i can't find particle1.position. If I click the connect button on the soup shelf, it shows a right arrow and nothing happens.  ive tried selecting different objects and still nothing appears in the connect dropdown list (arrow doesn't expand)
Reply 0 0
pshipkov
Every particleShape node has two attributes containing local and world space positions for all existing particles, respectively .position and .worldPosition.
You have to connect particleShape.position to pcfe.inPositionPP
Reply 0 0
LaJolly
Hello @pshipkov , 

Thank you for the information, however following these steps and successfully connecting the nodes did not result in an expected simulation. The fluid still appears to be a grey cloud as it was when first connected. Do you have any advice to help me find the right steps? I've attached my test file if you'd like to take a quick look, maybe the newer Maya's require a different approach? I very much appreciate your time, thank you. 
Reply 0 0
Reply