Triton
Visual simulation library for ocean rendering.

Using Triton with No Rendering (Physics Only)

Some systems consist of a central server that is responsible for intersection tests and physics, that does not do any rendering.

Triton may be integrated into such systems without requiring communication to visualization channels.

All you need to do is specify NO_RENDERER for the "renderer" parameter of Triton::Environment::Initialize(). In this mode, Triton will not do any drawing, but will still compute the physics of the water surface, complete with GPU acceleration if available.

Follow the advice in Synchronizing Triton across multiple viewports or channels to ensure the physics channel is in sync with the rendering channels. You may then use Triton::Ocean::GetHeight() to obtain intersections and normals with the water surface, as described in Intersection tests with Triton

 All Classes Files Functions Variables Friends