RealityServer Features

Render Loop

The preferred method of rendering on RealityServer is via a server side render loop. This allows for highly efficient rendering as it removes the latency inherent in making individual HTTP render command request and the user can simply poll for rendered images, or as of RealityServer 5 can use a WebSocket connection to have images streamed to the client.

The Simple Render Loop sample application shows the basics of how to use the render loop and is the first resource to use when learning about render loops. This includes starting up, setting up a web socket connection or polling for images and basic navigation. It also has a feature when you can click on an object and it is outlined in the render. This is not a feature of render loops per se, but of the Default Render Handler that performs the actual rendering. This is just one of many features in the handler which are documented in the following section.