🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Bounding Spheres

Started by
0 comments, last by Blza 23 years, 11 months ago
Hey guys. How the easier way to implement a bound sphere to all geom primitives, like a cubes, cylinders, cones ??? see ya ...
Advertisement
magic software has got code to do this acuratly. ie a much tighter fit.
i would just look at all the various points of the shapes
keeping track of the minX,maxX,minY... maxZ.
so u find the greatest extents then go cenX = (minX+maxX)/2
also look through all the points for the one the furtherest away and use this as the radius

This topic is closed to new replies.

Advertisement