[JAVA3D] Can't add background?

2000-12-29 Thread Bob Gray
Title: Can't add background? In my application, I use SimpleUniverse and I create an empty BranchGroup to which I will add all my scene objects and behaviuors after the scene is live. When everything goes live, the BranchGroup is empty. I then try to add a Background to the BranchGroup, b

Re: [JAVA3D] Can't add background?

2000-12-29 Thread Peter Blanchebarbe
Hello, if your scenegraph is alive you can only add BranchGroup-nodes. So, add the Background-node to an non-living BranchGroupNode. Finally add the BranchGroup-node to your root-node. ---   Background background = new Background(0f, 0f, 0f);   BranchGroup backgroundBg