Hi

I just made an interesting discovering. It seems that background
nodes don't seem to have any effect in Applets? My program can
run both as Application and as Applet. When I run it as Application
everything goes fine. I get a white background just as I've set the
BackgroundNode.

When I run the same as Applet the background keeps black. ???

Here's the code:

Background background = new Background(new Color3f(1.0f,1.0f,1.0f));
background.setApplicationBounds(new BoundingSphere(new
Point3d(0.0,0.0,0.0), 1000));

sceneRoot.addChild(backGround)

sceneRoot is the highest BranchGroup containing the scene.

EOF,
 J.D.

--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)

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