Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RealWave node > Right mouse button menu > Add Wave > Scripted 

 

These different nodes have one thing in common: the “Edit” button. By clicking on this button, a new script editor will be opened which contains specific functions for each node type – it is not possible to mix or change these functions. For example, the updateWave( vertices, initPositions ) function should not be used inside a scripted daemon’s editor and vice versa.

With the custom particle type you will be able to define your own fluid emitter and its behaviour. The function calculates the forces between the individual particles and applies them to the fluid. For this purpose there is the “computeInternalForcescomputeInternalForces( emitter )” function function. The scripted emitter is not a type of its own, like scripted daemons. It is a special particle type that is available with any emitter. You can choose from “Gas”, “Dumb”, “Elastic”, “Liquid” – and “Custom”: 

Node Params > Particles > Type > Custom

 

This implementation is much more convenient than completely customised emitters, because you don’t have to create a certain shape for the particles to be generated from. You can use any available emitter type and shape, and only change the particle type.

...