Mathew,

I think you also need to set the scheduling region for the mouse behavior:

    mz.setSchedulingBounds(bounds);

Sincerely,

Daniel Selman

[EMAIL PROTECTED]
http://www.tornadolabs.com

Date:    Tue, 15 Jun 1999 13:25:02 -0700
From:    Matthew Carpenter <[EMAIL PROTECTED]>
Subject: [JAVA3D] Mouse Behaviors...

I am still very new to J3d, so this is probably a really simple/stupid
question, but why can't I get my mouse behavior to work?

my code is essentially:

 SimpleUniverse myUniverse = new SimpleUniverse(myCanvas3D);
 BranchGroup contentBranchGroup = constructContentBranch();
 myUniverse.addBranchGraph(contentBranchGroup);
 myUniverse.addBranchGraph(constructDXFBranch());
 MouseZoom mz = new
MouseZoom(myUniverse.getViewingPlatform().getViewPlatformTransform());


Have I forgotten to activate the behavior?

===
Matthew Carpenter
BACS, CNI, CNE, CNA
[EMAIL PROTECTED]
Enterprise Information Systems
*Network Consulting, Integration & Support
*Web Development and E-Commerce
*Custom Application Development
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to