Skip to main content

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

Image
Image

History

Information Version
Sun 15 of Jan, 2012 16:11 GMT-0000 Beauty added information for usage example codes 6
Sun 15 of Jan, 2012 15:37 GMT-0000 Beauty bugfix: Replaced wrong link for support forum 5
Sun 15 of Jan, 2012 14:10 GMT-0000 Tubulii Added link to introduction in forum 4
Wed 17 of Aug, 2011 10:30 GMT-0000 jacmoe 3
Mon 15 of Aug, 2011 23:42 GMT-0000 jacmoe 2
Mon 01 of Aug, 2011 00:16 GMT-0000 jacmoe 1