Hi, all:
I have written a WalkViewerBehavior extends Behavior for my 3D scene, which
handles the navigation through the scene. Now I want to add a extended
PickMouseBehavior to pick the objects in the scene. The problem I have now
is that the extended PickMouseBehavior does not process the mouse event.
here is my 3D scene
SimpleUniv.->BG1-> extended PickMouseBehavior
/ |
extended Behavior TG1 (set the
"Enable_pick_reporting" bit
|
BG2
|
Shape3D
(PickTool.setCapabilities(shape,
PickTool.INTERSECT_FULL);
setCapability( Shape3D.ALLOW_GEOMETRY_WRITE );
setCapability( Shape3D.ALLOW_GEOMETRY_READ );
|
Geometry
setCapability(Geometry.ALLOW_INTERSECT);
setCapability(GeometryArray.ALLOW_COORDINATE_READ);
Could anyone give me some guide with what was wrong?
Thanks in advance!
Lan
Lan Wu-Cavener
Research Associate and Programmer
Dept. of Landscape Architecture
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".