3DView2 Programming Overview
Coordinate Systems
Note that microPSI and 3DView2 use different coordinate systems. For the user, only the microPSI coordinate system matters. As a developer, you need to be aware of the engines coordinate system and how to convert between the two.
In
microPSI:
- x points east
- y points south
- orientation angles are in degrees, interval [0,360)
- orientation angles are clockwise; 0 degrees points north, 90 degrees points east
In
3DView2:
- x points east
- y points up
- z points south
- orientation angles are in radiant
- orientation angles are counter-clockwise; 0 degrees points east, 90 points north
micropsiutils.h contains useful
helper functions for converting between the two systems