Many thanks to everyone who solved the problem so quickly:
adding a Background node worked!
Julian
-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: Julian Bunn <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, January 26, 1999 10:10 AM
Subject: Re: [java3d] Problem with setBackground in Canvas3D
>We have code that has one way of doing this in NCSA Portfolio's Display
>program, which we include as source in the download:
>
> BranchGroup group = new BranchGroup();
> group.setCapability(Group.ENABLE_PICK_REPORTING);
>
> BoundingSphere bounds = new BoundingSphere(new
>Point3d(0.0,0.0,0.0),2000000.0);
> Color3f bgColor = new Color3f(0.17f, 0.65f, .92f);
> Background bg = new Background(bgColor);
> bg.setApplicationBounds(bounds);
> group.addChild(bg);
>
>Don't worry about the Group.ENABLE_PICK_REPORTING. It's for another part
of
>the app.
>
>Steve
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/