Rus
Trying to experiment with pointCloudFluidEmitter as in this video



everything seems to be fine until i hit "autoResize".  Got some strange behavior, why? Checked different Boundary and tested with big auto resize margin still get the same. May be doing something wrong? capture1.JPG capture2.JPG
Reply 0 0
pshipkov
I don't know why it does not work. Hard to say really. Let me investigate.
Reply 0 0
Rus
Hope the scene file will help.
Reply 0 0
pshipkov
So it looks like there is a bit of logic and calls not exposed in the API.
Let's see if something can be done about it ...
Reply 0 0
Rus
looks like radiusPP doesn't work too.

i see in the connection editor that pointCloudFluidEmitter has all this parameters as a regular does (such as emission speed attributes, turbulence attrs..etc..)  but we don't have it in attribute editor. Can you add it please?
Reply 0 0
pshipkov
The default ones are not used.
Look for inRadiusPP, inPositionPP, etc. - the ones exposed in the AE.
Try to use the connect button on the soup shelf - makes it a bit easier.
Reply 0 0
Rus
i meant things like speed method, inherit veliocity, motion streak, turbulence..
Reply 0 0
Rus
Ahh neveremind!  i find all this attrs in the Extra Attributes tab, down at the bottom
Reply 0 0
Rus
Alright, i set inherit velocity to 1 and i don't see any difference, even if go crazy and set it to something like 500 or higher no difference too.
I connected nParticleShape1.radiusPP -> pointCloudFluidEmitter1.inRadiusPP and it looks like pcFluidEmitter doesn't use  per particle radius, i see a checkbox "use particle radius" looks like it doesn't do anything. screen.JPG
Reply 0 0
pshipkov
Ignore these attributes - they are not used. This is implied by the design of the node's AE template.

I think i have to explain better some things, so here:
Maya's fluid emitters are easy to use but provide very limited level of control. Over time many of us learned how to use them to our advantage and live with it. But that does not make things better. Simple example - you have a mesh surface and want to start emitting from one side and then expand the emission across the entire surface. Also you want the "top" side to emit more heat and the "bottom" one more density. Reality is that in Maya people just don't do that.
Those of us who use other applications know how much better is to use point cloud as emission source, where we have explicit control over each point. So we can define exactly when, where, how and what gets emitted into the fluid container.
The standard Maya fluid emitters provide basic functionality for emission from particles, but as i said - it is basic and particles are hard to control in a procedural (non-simulation way).
And this is what the pointCloudFluidEmitter is about - precise, explicit and procedural control over the emission process. It requires a prep-step - to create and configure the point cloud, but then we have all the freedom to do whatever we want.

Now to answer your question about inheritance of velocity from geometry and emitting fluid according to that. Here is how you do it the SOuP way:

object -> scatter (generate point cloud)
object -> computeVelocity (calculate the velocity for each point of the object)
computeVelocity -> attributeTransfer (transfer the object's velocities to the point cloud)
scatter -> pointCloudFluidEmitter (feed the fluid emitter with the point cloud positions)
attributeTransfer -> pointCloudFluidEmitter (feed point cloud velocities into the emitter)

Play the simulation.

Now with that said - with SOuP you have a lot of tools on your disposal to further modify and massage the point cloud data - bounding objects for influence over subset of the points, expressions that can be applied to the entire point cloud or subset of points, remapping, shifting, reordering of data and so on.

Check the pointCloudFluidEmitter example scenes to see some of the explained points in action.

Let me know if you have any questions.
Reply 0 0
Rus
Thanks a lot for clarification. I think now i understand how it works. Will experiment tonight.
Reply 0 0
Reply