lundi 28 juillet 2008

A new problem: user interaction with the mouse

Currently, I'm trying to solve a common problem mainly related to multithreading, dynamic mesh (vertices moving inside a mesh), accurate collision detection (between the mouse cursor and the scene) using dynamic bounding volumes.

Following the mouse cursor (white cross) is over a far tablespace but the session control panel (dynamically extruded quarter of sphere) is in front of it. Thus the collision detection failed (I think because of the Bounding Sphere I'm using for the session panel:



Following the dynamic Bounding Sphere of the session control panel:

Small one:


Large one:

Aucun commentaire: