Hi,
try this:
// Mouse Translate
MouseTranslate m_trans = new MouseTranslate();
m_trans.setTransformGroup(yourBranch);
m_trans.setSchedulingBounds(new BoundingBox());
my_BG.addChild(m_trans);
// Mouse Zoom
/*
INSTRUCTION:
Press ALT+Mouse Up|Down to zoom in|out
*/
MouseZoom m_zoom = new MouseZoom();
m_zoom.setTransformGroup(yourBranch);
m_zoom.setSchedulingBounds(new BoundingBox());
my_BG.addChild(m_zoom);
// Mouse Rotate
MouseRotate m_rot = new MouseRotate();
m_rot.setTransformGroup(yourBranch);
m_rot.setSchedulingBounds(new BoundingBox());
my_BG.addChild(m_rot);
if this doesn�t work tell me. In my code it works fine!
bernd
> Hi, all
>
> Big problem: I have a scattered data points displayed in a
> scene, and I use the J3D mouse behaviors classes
> to zoom translate and rotate it.
> And I would like to know why I don't see these points disappear
> when I zoom out with the mouse?
> The same event occurs with a Shape3D e.g ColorCube(1).
>
> Any help will be Appreciate
>
> Thanks all
>
> ================================================================
> ===========
> 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".
>
===========================================================================
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".