RealFlow Wisdom

RealFlow blog: Tips, Technics and Scripting.

Graph: Adding Age Channel to Domain Particles

Domain particles in RealFlow does not contain any channel to allocate the age value, but this does not mean that you cannot  calculate it. This graph adds a new channel called “age”. It is very useful to do operations with particles like filtering and transferring, deleting or even changes particle properties as we will see in futures graphs. If you open the compress file from the link you will find two folders, the SimulationPre folder contains two graph files that have to be plugged into the SimulationPre folder, in the same order of their names. Inside the StepsPre folder there is another graph file that must be plugged to the StepsPre folder.
screenshot_age1

 

screenshot_age2                       screenshot_age3             screenshot_age4

October 15, 2014 Posted by | Graph, Tips | , | Leave a comment

Graph: Convert rpc files into bin files

This graph converts a given rpc sequence into bin file sequence.

screenshot.4

You only need to set the paths for sequence.

String_01: Rpc file path sequence.

String_02: Bin file path sequence.

This graph can be executed in an empty scene.

September 5, 2014 Posted by | Graph, Pipeline | Leave a comment

How to animate no animatables attributes with graphs.

There are some attributes in RealFlow that cannot be animate, for instance, all the ones start with a @blablabla.

You can create a py script or use some graphs nodes in conjunction with py code.

This graph is really simple, it use a null object in the scene to transfer the animated channels to the non animatables channels or attributes from other nodes in the scene.

screenshot.1

This is a workaround for the SetParameterNode that is not working properly in the actual version.

This graph should be pluged to the FramePre o StepPre folders in the Simulation Flow panel. For setting the inputs you need to select the “Edit Graph input parameters” button and a dialogue box appear to set the nodes and params.

screenshot.2

This is the animation curve will be applied to the non animatable attribute.

screenshot.3

Thanks to NextLimit Team for the help.

September 5, 2014 Posted by | Graph, Python, Scripting | Leave a comment