Hi Christoph,

On Tue, 2005-09-06 at 15:49 +0200, [EMAIL PROTECTED] wrote:
> 
> Hi Andreas,
> no I didn't, I haven't worked with collision detection before so I
> migt lack the very basics of this subject. Could you tell me what the
> world volume is used for and how I have to use it? 

the bounding volumes stored at the nodes are all relative to the
parent's coordinate system, therefore to compare them against each other
you have to bring them into a common coordinate system.

The easiest way to do that is using world coordinates, which OpenSG can
give you with Andreas' hint. Not the most efficient, but the easiest. To
be more efficient you have to calculate the transformation from one
coord sys to the other and transform one of the volumes into the other
coordinate system.

If you seriously need collision detection there are a bunch of public
libraries that might make your life easier, like OpCode
(www.codercorner.com/Opcode.htm).

Hope it helps

        Dirk




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to