agentfx
Emission Type: Surface - how can you get a surface data in? and why would you do that? its a little confusing to bring in any other data type than points since its called "pointCloud" FluidEmitter even if the surface is attr transferred in.
the below are also confusing for the same reason
Point Cloud: Swept Geometry
Point Cloud Colors: Input Rgba PP or Swept Geometry(mesh Only)

Randomize Input Rate PP: how does this randomize? What are the ranges? 
Attribute Transfer Mode: What is this? Why was it added, and how does it work?

suggestion move the Emit Fluid check box and Fluid Color into Fluid Attributes
add "UV" to Color Set and move that below with the Fluid Color to the Fluid Attributes.
--Dave
Reply 0 0
pshipkov
It goes like that:

emission type:
- point means that fluid will be emitted only from the points on the input.
- omni means that each point is a treated as a sphere and fluid will be emitted to all voxels inside the sphere, notice that these spheres have inner and outer radius.
- surface - points will be randomly scattered over the input surface and emission will happen from there

point cloud:
- inputPositionPP - use the point array coming from the .inPositionPP attribute
- swept geometry - this utilizes the standard maya surface emission pipeline, but instead of scattering points on the surface of the object it directly uses the original points to emit fluid from.

point cloud colors:
- input rgba pp - if you have something connected to the inRgbaPP attribute that will be used to emit color into the voxels.
- swept geometry (mesh only) - if you use use mesh object as surface emitter you can directly use these colors to emit into the voxels.

randomize input rate PP
I am reusing some of the existing stuff in the base fluid emitter. This is similar to the "jitter" option, but applied to the emission rate. Basically a repeatable random states that will be the same if you play the simulation over and over again.

attribute transfer mode
Open any of the pointCloudFluidEmitter_attributeTransferMode_*.ma scenes. You will see that there is no simulation "history" remaining in the fluid container after the current simulation step is finished. The result is "hard" transfering of attributes from something to the fluid container.
This way we can voxelize geometry.

The suggested AE layout makes sense. Already did that.
The colorSet is not uvSet. We can assign mulitple color sets to the same mesh object and each set may contain different point colors. This field allows us to pick which one we want to use. If empty - use the default one.
Reply 0 0
agentfx
emission type: again I have to ask why you scatter points on a surface when there is a scatter points on surface node. 
The only confusing part to me is the surface/geometry/sweep parts the rest is logical and straight forward

point cloud:
- swept geometry - this utilizes the standard maya surface emission pipeline, but instead of scattering points on the surface of the object it directly uses the original points to emit fluid from.


so this emits from the surface and the vertex? What you wrote is confusing me, I may have to call you. 

point cloud colors:
- swept geometry (mesh only) - if you use use mesh object as surface emitter you can directly use these colors to emit into the voxels.

so simply put this is use vertex colors?

attribute transfer mode
I don't really understand that yet, but I will study up on it before I ask for a better explanation. Some SOuP stuff asks a lot of the artist's deep understanding of Maya, like even colorSets, I'm not sure I've ever used colorSets so I have to research that too. 


--Dave
Reply 0 0
pshipkov
emission type: again I have to ask why you scatter points on a surface when there is a scatter points on surface node. This is how the standard emitters work in surface mode. I just directly utilize it to save us the couple of clicks every time to pre-create and properly setup a scatter node. :)

swept geometry
Only from the "surface", or more precisely - from randomly scattered points on it.

swept geometry (mesh only)
yes.

attribute transfer mod
check the scenes - it will make sense immediately.
Reply 0 0
agentfx
ok I'm getting it :) But let me just say that calling something "pointCloudFluidEmitter" and it also works with surfaces is initially confusing, b/c how is a surface points?

So what do you say we change some names? 
point cloud colors - swept geometry (mesh only) to > Vertex Color (mesh only is not really necessary since you gray it out if its not in "Swept Geometry" Point Cloud)
Speaking of Swept Geometry change that to > surface scatter
If not surface scatter which I'm not as sure of the name change at least take out the work swept which I find confusing like its some special type of loft NURBS or something. 
--Dave
Reply 0 0
pshipkov
Will do tonight. This will not break any backwards compatibility, so the change will be very easy.


Reply 0 0
agentfx
attribute transfer mode
Open any of the pointCloudFluidEmitter_attributeTransferMode_*.ma scenes. You will see that there is no simulation "history" remaining in the fluid container after the current simulation step is finished. The result is "hard" transfering of attributes from something to the fluid container.
This way we can voxelize geometry.

ok its for voxelizing geometry then? I see what you mean but its confusing as you why you'd want to do that. I'll think of a new name for that attr when I understand what its doing and why better. 
--Dave
Reply 0 0
agentfx
sorry what I mean is that check box is a pretty radical change from what one might expect from an emitter. 
What my sense is you are "too smart" in some of these cases. Like you bundle a lot into one node. Id break that out into a new node to simplify the fluid emitter down to "this emits from points just like a regular maya fluid emitter" 
another node call pointCloudFluidAttributeTransfer? thats a mouth full. But what I don't want is any one node with too many different functions. Also that one check box could mess people up, "why is my emitter not working?!?!" 
While its close to the same, it overrides the fluid natural function (not really but it appears to) "I see emitted density then it goes away next frame"

I don't think it needs to go away. its the kind of thing I'm dissecting and want to reconsider.
--Dave
Reply 0 0
agentfx
Oh and "rate", since rate is the same thing on a fluid emitter that is also useless. 

But you see how that one check box is the only out-of-the-norm hugely different setting on the fluid emitter? It changes the function of the node. Again not to say a node can't have multiple functions but the more it has the harder it becomes to internalize and when the task arises use. 

Also what people don't understand they don't use. 
--Dave
Reply 0 0
pshipkov
Actually i found rate useful if i have more precise setup for the emitted fluid properties but just want to ramp-up or lower down all of them from one place.

About the transfer mode. If i separate that in another node there will be a lot of code redundancy. Think about it - until i get to the actual "transfer" process i have to mimic pretty much everything that is already happening in the pointCloudFluidEmitter, including the control options, otherwise i will not be able to emit anything useful but gray uniform density.
I think the way to go here is that feature to be properly documented, so there is no guess work on the user side.

Reply 0 0
agentfx
the attr editor change I mean was this


pointCloudEmitterAttrEditorChange.gif
--Dave
Reply 0 0
agentfx
updated wiki on it
--Dave
Reply 0 0
pshipkov
This is exactly what i did yesterday :)
Reply 0 0
-heavy-

cuz of the server error on the wiki, i could not watch what the pointClFlEmitter is all about at the moment, so i have to ask something here.

 

is there any trick to get these extra attributes under RandState working .. ?

especially inherit velocity is my best friend when it comes to Particle-Fluid Emission stuff.

?!?

 

EDIt:

 

ohh and what do i have to connect to get the radiusPP working correctly ?

Reply 0 0
pshipkov
Not sure what you mean by "to get these extra attributes under RandState working" .
Clarify please.
Reply 0 0
Reply