OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: Debug Drawing Utility Class for MOGRE
View page
Source of version: 6
(current)
!! 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 [http://www.ogre3d.org/addonforums/memberlist.php?mode=viewprofile&u=14063|Tubulii]. !! Download & example The Debug Drawing Utility Class is part of the [https://bitbucket.org/hasyimi/ogre-debug-drawing-utility|official repository]. You can download the latest source code from there. A short introduction can be found in [http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=14554|this forum topic] or in the original [http://ogre3d.org/tikiwiki/Debug+Drawing+Utility+Class|Debug Drawing Utility Class article] (slightly different) Detailed usage example code you find on the "main page" ((Debug Drawing Utility Class)). They are in C++, but it's easy to port them to C#. !! Support For common questions use [http://www.ogre3d.org/forums/viewtopic.php?f=5&t=64941|this forum topic] to discuss with the class author. For Mogre specific questions use [http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=14554|this forum topic]. !! Screenshots {img fileId="2055" thumb="y" rel="box[g]" width=500} {img fileId="2056" thumb="y" rel="box[g]" width=500} {img fileId="2057" thumb="y" rel="box[g]" width=500}
Search by Tags
Search Wiki by Freetags
Latest Changes
IDE Eclipse
FMOD SoundManager
HDRlib
Building Ogre V2 with CMake
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
...more
Search
Find
Advanced
Search Help
Online Users
52 online users