VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
debugDrawRenderer Library API Changes

Table of Contents

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:

Only 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.

Breaking Changes

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.

Additions

DtBaseProcess coordinate conversion helpers

makVrf::DtBaseProcess gained two protected overloads that convert a point from geocentric (ECEF) coordinates into the renderer scene's database coordinate system:

DtPoint geocentricToDatabase(const DtPoint& geocentric) const;
void geocentricToDatabase(DtVector& point) const;

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]


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)