The base ARenderable class should have built in functionality to render the three different types of bounding volumes (AABB, OBB, and Sphere).
To render the bounds, a public method should be exposed. This way, future custom renderers can have full control over when to render bounds to prevent needless state changes.
For initial testing, the current default 'renderer' (found within Scene) will naively render all visible bounds, despite the potential impact on state performance.
The base
ARenderable
class should have built in functionality to render the three different types of bounding volumes (AABB, OBB, and Sphere).To render the bounds, a public method should be exposed. This way, future custom renderers can have full control over when to render bounds to prevent needless state changes.
For initial testing, the current default 'renderer' (found within Scene) will naively render all visible bounds, despite the potential impact on state performance.