PDA

View Full Version : fluid emitter Per-point_rate question


cowboy71
02-22-2011, 02:06 AM
I have a small debris explosion setup from classic particles which has a few pieces of geo instanced on. Nothing fancy. I'm using fluids emitted from those particles. I know if I emitted classic particles from the debris particle I could use EmitterRatePP to find velocity and stop emission when the debris particle came to rest. I'm just not sure how to do this with using a fluid emitter.

Aikiman
02-22-2011, 05:21 AM
Not sure you can currently. Having said that, SOuP has a pointCloudFluidEmitter that you could connect velocity up to ratePP. Havent tried it but should be workable.

cowboy71
02-22-2011, 05:25 PM
Yeah, I just tried doing the same sim with Nparticles and no dice. I have been working with the soup nodes a bit so maybe I can figure something out.
Thanks a bunch

Aikiman
02-22-2011, 07:35 PM
particleShape1.worldPosition > pointCloudFluidEmitter.inPositionPP
particleShape1.speedPP>pointCloudFluidEmitter.ratePP

where speedPP is a custom pp and a runtime expression grabbing magnitude of velocity since ratePP is a float attribute.

(just in case you needed help)

cowboy71
02-23-2011, 04:50 PM
Hey so everything works great. Thanks again.
However, do you know if there is a way to use the auto-resize with the pointFluidCloudEmitter? I have not found a way to do this yet.

Aikiman
02-23-2011, 06:57 PM
Currently its not supported because Peter built that node long before 2011 came out and it requires some intense coding to get it working so I think hes shelved it for now. There have been a lot of requests for that, its just one of those things we have to live with - just think you are back using Maya 2010 ;)

Im glad you got it to work though.

cowboy71
02-23-2011, 07:46 PM
haha, I skipped that version and went straight from 2009 to 11.
Thanks again.

Duncan
02-23-2011, 09:26 PM
In Maya2011 the emissionRatePP works much the same as with particle/particle emission. Just select the particle system and do "particles->per point emission rates". Then set the fluidEmitter1RatePP attribute as desired( for example in an expression ).

Also fluid auto resize will automatically expand to fit all particles with a non-zero emission ratePP.

Duncan

Aikiman
02-23-2011, 09:37 PM
Awesome thanks Duncan.

cowboy71
02-23-2011, 10:22 PM
ahh that's great news. Thanks so much guys. Really appreciate all the knowledge shared in this forum.

CGTalk Moderation
02-23-2011, 10:22 PM
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.