Render rf particles as Maya fluid

Post Reply
Jorge Medina
Posts: 71
Joined: Wed Jun 09, 2010 6:23 pm

Render rf particles as Maya fluid

Post by Jorge Medina » Fri Aug 05, 2011 3:41 pm

Hi!
I am still studding work-flows for clouds and volumetric and wonder if somebody here has tried render a particle system using Maya fluids but taking the density of number of particles per voxel.
I rendered this image using Mental ray and RFRK Cloud, Mesh and Particles all together but it is extremely slow, 56 minutes in a 24 cores machine

Image

I could render it by passes and layers but it would loose some details.

User avatar
FlorianK
Posts: 238
Joined: Fri Jun 11, 2010 9:56 am
Location: Cologne, Germany

Re: Render rf particles as Maya fluid

Post by FlorianK » Sun Aug 07, 2011 7:30 pm

Hola Jorge,

I did some RnD on that matter earlier this year. Here's the workflow:

- Import RF particles as particle sequence via RF plugin

- In Maya 2011 and Maya 2012, you can emit from particles- so use your RF particles as emitter.

In the fluid emitter's attributes, in "Basic Emitter Attributes", I ticked "Use per Point Radius" in order to control the emission and I added a simple Creation Expression to radiusPP so the particles were quite small, like

Code: Select all

particleShape1.radiusPP = rand(0.02, 0.05);
I also used "Emission Speed Attributes" and set the Speed Method to Add.

The fluid container itself was HighDetailSolve for all grids and Forward Advection, which I found was working well for this kind of setup. Density Scale was 0.5 and Disspiation ~0.1, Swirl ~20 plus some Turbulence as I didn't want to add in Temperature.

The Auto- Resize Feature also did a good job for me, and I was working with an overall container Resolution of 200 for the renderings.

I also found simulations with less particles will get you a better quality, becuase all the individual particles will act as emitters and the more particles there are the faster it gets some unwanted results.

Jorge Medina
Posts: 71
Joined: Wed Jun 09, 2010 6:23 pm

Re: Render rf particles as Maya fluid

Post by Jorge Medina » Mon Aug 08, 2011 10:55 am

Hola Florian! ;)
FlorianK wrote: - In Maya 2011 and Maya 2012, you can emit from particles- so use your RF particles as emitter.

In the fluid emitter's attributes, in "Basic Emitter Attributes", I ticked "Use per Point Radius" in order to control the emission and I added a simple Creation Expression to radiusPP so the particles were quite small, like

Code: Select all

particleShape1.radiusPP = rand(0.02, 0.05);
I am trying this but get this warning when tick "Use per Point Radius":

Code: Select all

setAttr "fluidEmitter1.useParticleRadius" 1;
// Warning: particleShape1 does not yet have per particle radius values // 
I checked the particles radius and was ok, any thoughts?

Jorge Medina
Posts: 71
Joined: Wed Jun 09, 2010 6:23 pm

Re: Render rf particles as Maya fluid

Post by Jorge Medina » Mon Aug 08, 2011 11:23 am

Solved!

Jorge Medina
Posts: 71
Joined: Wed Jun 09, 2010 6:23 pm

Re: Render rf particles as Maya fluid

Post by Jorge Medina » Mon Aug 08, 2011 12:54 pm

I rendered this sequence using RenderKit for all particles.
http://vimeo.com/27431795
Now I´m going to try the other option you give me.

Post Reply