So, I now have multiple views in my virtual world, and it looks something like
this

        BG
        TG
TG              TG
ViewPlat        ViewPlatform

I also create some MouseBehavior(just MouseRotate and MouseTranslate) and add
them to the scene.
Well, what I did not think about, was that technically, they are all part of the
same scene graph. So, if on one window I move the mouse around, all of the other
behaviors are going to get the mouse movements as well. donk!

So, if you are doing multiple views and want the other views to react to mouse
movements, you will have to make those MouseRotate and MouseTranslates wake up
on manual behaviors, or create your own behavior that you wake up yourself.
Add your MouseListener to the Canvas of your specific window, and then update
your behaviors from that.

I just thought this should be a little snippet that should be noted on j3d.org,
or the java3d site for people doing multiple views.
Scott



Scott Decker
Research Scientist
Pacific Northwest National Labs
[EMAIL PROTECTED]
please feed the squirrels

===========================================================================
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".

Reply via email to