capability, and simply call the
hi,certainly. Basically, cannot modify an active scene graph unless you told Java3D that you would be modifying that aspect of it, before it became live.
i am using setColor(Color3f color) method
but error will be displayed
Background: no capability to set color
pls help me
then, later, you shoud be able to do ths:
Background bg = new Background(new Color3f(Color.blue)); bg.setCapability(Background.ALLOW_COLOR_WRITE); bg.setCapability(Background.ALLOW_COLOR_READ); someBranchGroup.add(bg);