Advertisement

Bounding Spheres

Started by August 11, 2000 08:41 AM
0 comments, last by Blza 24 years, 3 months ago
Hey guys. How the easier way to implement a bound sphere to all geom primitives, like a cubes, cylinders, cones ??? see ya ...
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