Hi !

To change your background color, you sohould use this :

float coul1, coul2, coul3; /*In french, coul for couleur (couleur =
color in perfect english)*/
Background bg = new Background(coul1, coul2, coul3);
bg.setCapability(bg.ALLOW_COLOR_READ);
bg.setCapability(bg.ALLOW_COLOR_WRITE);
bg.setApplicationBounds(/*your BoundingSphere*/);
YourScene.addChild(bg);
//Changing the background color
float a, b, c;
bg.setColor(a,b,c);

I hope that it will help you.

David Bourgais

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