Horde3D http://www.horde3d.org/forums/ |
|
Sphere queries http://www.horde3d.org/forums/viewtopic.php?f=2&t=320 |
Page 1 of 1 |
Author: | wizardofoz [ 30.04.2008, 16:08 ] |
Post subject: | Sphere queries |
Is it easy to implement a sphere query with Horde3D or is it necessary to modify the engine's sources? Thanks to all! Claudio |
Author: | AcidFaucet [ 30.04.2008, 16:55 ] |
Post subject: | Re: Sphere queries |
If you want it to be optimal then you'd best do it in the engine. Castray() will provide a starting point for how it basically works. Then you just turn it into an evaluation of distance from a point. Note: If you're using a collision detection library then you'll have this sort of feature for detecting collision primitives, it will also already be heavily optimized. |
Author: | wizardofoz [ 30.04.2008, 20:09 ] |
Post subject: | Re: Sphere queries |
Thank you for your suggestions. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |