Skip to content

Architecture : Server

Chih-Chen Kao edited this page Jul 17, 2017 · 3 revisions

Server-Side Architecture.

The server-side architecture is composed of several components : Renderer, Network Server, Encoder and API Engine. The following sections elaborate the designs in details.

Renderer:

The renderer implements the algorithm for shading and coloring by leveraging the Radeons Rays APIs and other software utilities.

The Renderer comprised several C++ classes:

Scene Reader:

The Scene Reader leverages the infamous software utility named “Tiny Obj Reader” to read and parse the OBJ files for scene building. The scene information stored in the obj files will be converted into a set of C++ std vectors that records the vertices, the indices, the normals and the uvs. After that, the information will be used to construct the internal Shapes and Mesh of the Radeon Rays by calling the public APIs. Note that the building process is handled by a class named Scene Tracker in the actual implementation for tracking the changes of a scene content.

Clone this wiki locally