I have some objects at the coordinate origin. I move the view platform
toward or away from the origin to implement a zooming function.
It seems that when I zoom out (maybe to about 50) parts of the geometry
start to disappear. And if I move even further out, everything disappears.
I defined a bounding sphere as
BoundingSphere worldBounds = new BoundingSphere(new Point3d( 0.0, 0.0,
0.0 ), 1000.0 );
and
BG = new Background(BGCr, BGCg, BGCb);
BG.setCapability(Background.ALLOW_COLOR_WRITE);
BG.setApplicationBounds(worldBounds);
and some lights
AmbientLight lightA = new AmbientLight();
lightA.setInfluencingBounds(worldBounds);
and
lightD1 = new DirectionalLight();
lightD1.setInfluencingBounds(worldBounds);
Is there some other place I need to set a BoundingSphere so objects don't
disappear as I move the view platform further and further away from the
origin???
Does SimpleUniverse have a BoundingSphere? Or maybe View?
There's got to be something I am not setting correctly.....
Bob Gray
===========================================================================
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".