At last, it works now with accurate collision detection using TrianglePickResults. The extruded faces are now distinguish Box (own version with only 5 faces, extrudable, with OrientedBoundingBox):
I think I even discovered a bug... waiting to update the jME 2.0 code to verify it!
jeudi 31 juillet 2008
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:
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:
dimanche 27 juillet 2008
mardi 22 juillet 2008
jME 2.0 threadsafe problem with the Sphere shape
Session control panel r1.0
Yes!
I finally get something working:
The quarter of sphere in the bottom displays information about Oracle sessions. The more a face is extruded, the more the CPU it is currently consuming. Using fast FloatBuffer copy allows a good framerate while the TriMesh vertices are quicky updated (20 times per second).
Next: memory representation + data flows!!!
I finally get something working:
The quarter of sphere in the bottom displays information about Oracle sessions. The more a face is extruded, the more the CPU it is currently consuming. Using fast FloatBuffer copy allows a good framerate while the TriMesh vertices are quicky updated (20 times per second).
Next: memory representation + data flows!!!
jeudi 3 juillet 2008
Face extrusion under JME?
Inscription à :
Articles (Atom)