History: Debug Drawing Utility Class for MOGRE
Preview of version: 1
- «
- »
Description
It's a utility class for rendering simple primitives like 3D lines, quads and cuboids, without having to keep track of manual objects. It is useful for debugging purposes, since it is quite a hassle to keep track of ManualObject instances, initializing them, attaching them to scene nodes and destroying them just for the sake of debugging. Using this class, all it takes is just one function call to draw a primitive. Note that it works like 2D rendering, e.g. it is cleared every frame. Thus, the draw functions need to be called every frame.
Currently, it only supports rendering of:
- lines
- quads
- circles
- cuboids
- icospheres
- tetrahedrons
This source code is a port of the Debug Drawing Utility Class.
The port was written by user Tubulii.
Download & example
The Debug Drawing Utility Class is part of the official repository. You can download the latest source code from there.
Support
For common questions use this forum topic to discuss with the class author.
For Mogre specific questions use this forum topic.
Screenshots