RealFlow Wisdom

RealFlow blog: Tips, Technics and Scripting.

Sun simulations (revised)

I was doing some R+D about solar filaments with RealFlow, you can find very cool references at this website

This is my personal approximations to this kind of phenomena. I have simulated this using Fibers emitters and some scripting lines to emit from them.

The movement of the fibers is achieved thanks to a Noise and Attractor Daemons, these make collide with the sphere. You can increase the number or particles make the sphere emit more particles from vertexes.

I used a Simulation Event script to get emitted particles from the particles driven by the fibers, you can download the script and the scene from here.

Scripting is, in most of the cases, the way you could get more control over the simulation and the most spectacular effect.

Due to several requests I am going to explain the steps to get the correct results in the scene provided:

To obtain the correct results is needed two simulation steps.

  • Simulation Step 1:
    • Once loaded the scene, Activate and make visible the Fibers node.
    • Deactivate script from the Simulation Event panel switching off the scripts.
    • (Optional) You can retime this simulated particles if you see they move too quick.
    • Simulate.
  • Simulation Step 2:
    • Make sure you have loaded in the Binary Loader the particles simulated in the previous step.
    • Deactivate and make visible the Fibers node.
    • Activate the scripts  from the Simulation Event panel switching on the scripts.
    • Simulate.

I hope this helps.


May 21, 2012 Posted by | Particle Base Fluids, RenderKit, Scripting | 1 Comment

Script to set random color to all nodes.

I did this stupid script to set random colors to all nodes in the scene to avoid the sad default grey,  recommended for scenes with a lot of geometry objects.

September 2, 2011 Posted by | GUI, Scripting, Uncategorized | , | 6 Comments

Grid to bin sequence exporter.

More than one time I have needed to extract the particles from a Grid Domain to use them in another platform or simply to render them using RF Render Kit. So, this is a really useful and simple script (updated) for all those who need to export Grids to particle .bin sequence and forgot to switch it on in the Export Central Panel. Thanks to Next Limit team.

September 1, 2011 Posted by | Grid Base Fluids, Pipeline, Scripting | , , | 8 Comments