At times it is very usefull to get debug information directly in the display for the 3D objects you're working with.

Balder has a variable that can be set on the Runtime class that exist in the core for enabling debug information in the display.
For the time being, you can only enable the rendering of BoundingSpheres - spheres that enclose the 3D model. These spheres are calculated for a 3D model when its loaded and automatically added.

using Balder.Core;

public class MyGame : Game
   public override void Initialize()
      Runtime.Instance.DebugLevel = DebugLevel.BoundingSpheres;

Last edited Dec 2, 2009 at 7:32 PM by adept, version 1


No comments yet.