Main Page → NatNet SDK → NatNet: Migration to NatNet 3.0 libraries
Page Scope
NatNet 3.0 no longer allows static linking of the libraries. If a NatNet project was utilizing NatNetLibStatic.lib to accomplish static linking, you will need to make changes to the project configurations, so that it links dynamically instead.
This is only an example. Required configuration changes may be different depending on how the projects were setup.
In NatNet 3.0, the structure of rigid body descriptions and rigid body frame data has been slightly modified. The sRigidBodyData:Markers member has been removed, and instead, the rigid body description (sRigidBodyDescription) now includes the expected rigid body marker positions in respect to the corresponding RB orientation axis.
Per-frame positions of rigid body markers have to be derived using the rigid body tracking data and the expected rigid body markers positions included in the description packet.