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 |
|---|---|---|
|
ON |
Test1 and Test2 |
|
ON |
SubscribeTest |
|
ON |
FbxStream (needs the FBX SDK, set |
|
ON |
MotionBuilder plugin, for each version found |
|
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.