ssell / OcularEngine

Ocular Rendering Engine
http://www.ocularengine.com
Apache License 2.0
7 stars 6 forks source link

Implement Bounds Rendering #113

Closed ssell closed 8 years ago

ssell commented 8 years ago

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.

ssell commented 8 years ago

AABB rendering is currently in, and it is the only bounds in regular use at the moment.