Hi,
I have a scene with sometimes fairly large objects, and I am moving
the ViewingPlatform for Navigation. I set the SchedulingBounds to
MaxFloat, which is working. Due to the Java3D Tutorial it would be better
to use a BoundingLeaf connected to the PlatformGeometry. I tried that but
the following solution is still only working, when is set the bounds to
MaxFloat?????????????

Thanks for any help

Desiree

        BoundingLeaf boundingLeaf = new BoundingLeaf();
        PlatformGeometry platformGeom = new PlatformGeometry();
        platformGeom.addChild(boundingLeaf);
        u.getViewingPlatform().setPlatformGeometry(platformGeom);


        and somewhere else in the scenegraph:

        behaviortrans = new MouseTranslate(MouseBehavior.INVERT_INPUT);
        behaviortrans.setTransformGroup(vpTrans);
        behaviortrans.setSchedulingBoundingLeaf(boundingLeaf);



o------------------------------------------------------------------------o
| Desiree Hilbring      Institut fuer Photogrammetrie und Fernerkundung  |
|                       Universitaet Karlsruhe, Germany                  |
|                                                                        |
|                       email: [EMAIL PROTECTED]             |
|                       # 0721 6083676                                   |
o------------------------------------------------------------------------o

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