Getting Started

Building

You need CMake 3.13 or later, a C++17 compiler and git.

git clone --recursive <repo-url>
cd Open3DStream
./build.sh            # Linux: RelWithDebInfo by default, or Debug, Release, MinSizeRel
build.bat             # Windows: Visual Studio 2017, 2019 or 2022

Both scripts first build the third-party libraries (mbedtls, nng, flatbuffers and crccpp) into ./usr, then build o3ds in ./build (./vsbuild on Windows) and install the results into ./usr. The third-party step is skipped once ./usr exists; delete it to rebuild.

Build options

Option

Default

Builds

O3DS_BUILD_TESTS

ON

Test1 and Test2

O3DS_BUILD_APPS

ON

SubscribeTest

O3DS_BUILD_FBXSTREAM

ON

FbxStream (needs the FBX SDK, set FBX_SDK_ROOT)

O3DS_BUILD_MOBU

ON

MotionBuilder plugin, for each version found

O3DS_BUILD_MAYA

OFF

Maya plugin (not maintained)

Run the unit tests with ./build/apps/Test1/Test1.

Concepts

A SubjectList is one packet: a set of subjects, the sender’s coordinate context (the direction of X, Y and Z and the distance unit) and its time envelope (clock, timecode, rate and drop-frame flag).

A subject is a performer (a skeleton), a rigid body, a camera or a set of named curves. Each holds a hierarchy of transforms identified by a stable UUID.

Rotations are carried as quaternions. A receiver can convert axes and units on ingest. Time is annotated, never converted. After the first full frame only the transforms that changed are sent.