Archived

This topic is now archived and is closed to further replies.

click

bounding Sphere

Recommended Posts

I want to learn how I can use the bounding sphere for my project. Can anyone show me the way? I find a site www.mvps.org, and take its bounding sphere algorithm, but I''ve had errors. pls send me sample codes including collision. I am also looking for sites on the net. Thanks....

Share this post


Link to post
Share on other sites
http://photoneffect.com/coldet/ has a free collision detection library you can use in your work -- source is available as well. http://www.codesampler.com/oglsrc.htm appears to provide an excelent tutorial/example, and judging by the screenshot, gives a good visual of the technique. Check out Game Programming Gems (book) when you can afford it. Also, search "bounding sphere collision" and try your luck.

Share this post


Link to post
Share on other sites


Thanks my friend.

How can I make Boundingsphere tree? I calculated BS radius and center of my object, using D3DXComputeBoundingSphere. But I want to subdivide BS into smaller parts for collision detection to done better.

Show me the way,pls.

Thanks.

Share this post


Link to post
Share on other sites