how is ist possible to set the background color for the scene ?
I tried :
RenderPeer rp = new RenderPeerImpl();
CanvasPeer cp = rp.makeCanvas(null, 800, 800, 24, false);
Canvas3D canvas = new Canvas3D();
canvas.setBackground(Color.BLUE);
canvas.set3DPeer(cp);
and / or
Background bg = new Background(new Color3f(1f,0f,0f));
scene.addChild(bg);
but nothing works ???
OK, I can put a sky box around, but this is a little oversized
for this little problem…
What’s the way ? What’s wrong ? Any tips ?
thanks in advance ;D ,
Thomas
