Bounds update

Hey folks,



The latest and greatest in cvs is improved bounds. You can now visually confirm your bounds by calling drawBounds(…) in your render method. See TestScenegraph and TestPick for examples.



Our jws demo page is updated with this latest. Check out the picking and scene graph demos… Hit ‘b’ to turn on/off bounds display. (Sorry it’s a bit hard to do due to how fast it grabs the keys) The first uses bounding boxes and the second bounding spheres.



This release still does not allow you to merge bounds of different class types, I’ll look at that soon along with oriented boxes.

Looks good Renanse, although I notice this in the test scene graph:







Looks like geometry’s bounds are not being updated.

nice catch… a fix is checked into cvs