Versions Compared

Key

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

Some object shapes seem to be unusable with RealFlowRealWave, in particular long objects which should float upwardly between the waves of a RealWave surface. For a few moments they seem to behave correctly, show some up and down motion, but then they turn over. The reason for this behaviour is the objects' centre of gravity. RealFlow provides are very easy method to shift this point and make it visible.

Here is the node list for this tutorial:

  • 1 “RealWave” object
  • 3 “Cube” nodes
  • 1 “Gravity” daemon


Image RemovedImage Added

A buoy on an endless ocean rendered with Maxwell Render. The buoy is tied to its position with a MultiJoint.

...

Info
This tutorial does not only work with RealWave surfaces, but in every situation where you have to prevent floating objects from turning over.


Here is the node list for this tutorial:

  • 1 “RealWave” object
  • 3 “Cube” nodes
  • 1 “Gravity” daemon

 

All scene elements can be added from RealFlow's “Edit” menu:

  • Add > RealWave | Objects | Daemons

 

  • RealFlow nodes can be moved, scaled, and rotated with the the W, R, and and E keys keys.
  • Imported objects from SD files have to be unlocked before they can be transformed with with Selected object > Node Params > Node > SD ↔ Curve
  • Viewport perspective is changed with the the 1, 2, 3, and and 4 keys keys.
  • Shading modes are toggled with the the 7, 8, 9, and and 0 keys keys.

The Setup

  • Add a RealWave surface (there cannot be more than one RealWave node in a scene).

  • Rescale the surface to your needs with the R key or the parameters under Node Params > Scale. The surface should be a squared mesh.

  • Right-click on the “RealWave01” node and choose Add Wave > Fractal

  • Add a “Gerstner” modifier

  • Create three cubes and change their vertical scale to values of 2.0, 2.5, and 3.0 (Node Params > Node > Scale)

  • Spread the cubes randomly over the RealWave mesh with the W key and shift them downwards so they intersect the wave surface. About 2/3 of the cubes should be above the water level.

  • Add a “Gravity” daemon.

...

  • Select the first cube.

  • Node Params > Node > Dynamics > Active rigid body

  • Node Params > Rigid body > @ mass > 500.0

  • Repeat the steps above for the remaining cubes

...