![]() |
VR-Forces Developer's Guide
|
This document describes the public API changes in the debugDrawRenderer library between VR-Forces 5.2 and 5.3.
The library publishes the following headers:
debugDrawRenderer/baseProcess.hdebugDrawRenderer/debugDrawMessageFactory.hdebugDrawRenderer/debugDrawRenderer.hdebugDrawRenderer/debugDrawRendererDriver.hdebugDrawRenderer/debugDrawRendererExport.hdebugDrawRenderer/debugDrawRendererPlugin.hdebugDrawRenderer/featureProcess.hdebugDrawRenderer/navMeshProcess.hdebugDrawRenderer/processFactory.hdebugDrawRenderer/terrainAreaProcess.hOnly debugDrawRenderer/baseProcess.h changed in a way that affects developer source code. Changes that are internal to an implementation or limited to comments are not listed.
There are no breaking changes in this library. No classes, methods, enums, typedefs, or headers were removed, renamed, or given a different signature, and no access levels changed. Code that compiled against the 5.2 debugDrawRenderer headers compiles unchanged against 5.3.
makVrf::DtBaseProcess gained two protected overloads that convert a point from geocentric (ECEF) coordinates into the renderer scene's database coordinate system:
Debug-draw triangles arrive in geocentric coordinates, which is a projection-independent frame, while the VR-Vantage scene graph is in the projected database frame. Classes deriving from DtBaseProcess should run incoming geometry through geocentricToDatabase before placing it in the scene so that it lines up with the GUI terrain, including the case where the simulation and the GUI use terrains with different projections. The first overload returns a converted copy; the second converts a DtVector in place.
Because these members are protected, only classes derived from DtBaseProcess are affected. Custom process classes written against 5.2 that performed their own coordinate handling continue to work, but should be reviewed against the new helpers if they assumed the scene graph and the incoming triangles shared a coordinate frame.
debugDrawRenderer/baseProcess.h now includes matrix/vlVector.h to declare the DtVector parameter. No action is required for existing code.
Return to VR-Forces 5.3 API Migration Guide.
[Home]