RealFlow Wisdom

RealFlow blog: Tips, Technics and Scripting.

Lava simulations

This is my personal approach to the lava behaviour, although there are several types of lava I´ve choosed a very high viscous type. The most important in the lava simulation is combine both motion and shading. In this case I used Render Kit to read the implicit parameters in the particle bin files. I started doing some tests with a simple simulation of a draining drop I had simulated yet, the settings are viscosity to 60 and surface tension to 560.

The previous example has the vorticity computed to use it later. Although the simulation is pretty simple it gives you the opportunity to play with several parameters in the shading, velocity, pressure, vorticity, etc.. You can download the shader to explore it in depth, I have to say it could be improved.

The most complex was to get a good shading network that allow me to control the lava look without to change a lot of parameters, for this renders I used a combination of texture and vorticity data from particles bins.

These are several tests I did…

…and the one I choosed a little bigger.

The next step was to apply this settings to a lava flow type simulation. The simulation is not very impressive, but enough to demonstrate that is very important the way you simulate  the fluid, comparing with the first example the look is different due to de simulation, but the shader is the same.

Next, both RealFlow simulation and render videos. I added a roughness map to the slide surface to break the shape in the fluid.

June 8, 2012 Posted by | Particle Base Fluids, Render, RenderKit | , , , , | Leave a comment


Having a look to this reference video for a possible project I get to work on it.

At the beginning I tried to get something similar in RealFlow using a simple set up with filter daemons and supported by some python scripting which generate some trail particles, the main concept was to get three layers of fluids, water, snow and vapour to render them later using Render Kit.

Once finished the simulation I started to test with Mental ray/Render Kit using  Mesher, Particler and Cloud in Maya. Although I did not spend a lot of time on the vapour particles to get a good behaviour as mist I think it could get better results transferring the particles to a Mist Domain with a high-resolution to obtain a good volumetric effect.

The fact is you can get really good results using Maya Fluids and RealFlow simulations, in this example I used two layers of particles rendered by using RFRK and another layer using the snow particles from RealFlow as Fluid emitter in Maya.

I want thanks to Florian Koebisch from NextLimit forum his advises about Maya Fluids.

August 17, 2011 Posted by | Daemons, Particle Base Fluids, Render, RenderKit, Scripting | , , , , | 7 Comments

I can`t render mesh or particles with RenderKit.

If you are working with RFRK2 make sure you choose the correct icon to import the particles bins, in some occasions you press by error the RFRK1 icon, this makes the render ask for a license of RFRK1.



The differences between both nodes in the Attribute Editor are big but sometimes you do not realize.



July 5, 2010 Posted by | GUI, Render, RenderKit | , , | Leave a comment