Re: [JAVA3D] AW: [JAVA3D] Confused with the appearance

2003-09-24 Thread Robert Gomez-Reino
Doh! Now its working, thanks all.   - Original Message - From: David Yazel To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 2:01 PM Subject: Re: [JAVA3D] AW: [JAVA3D] Confused with the appearance You need to add normals to your triangle if you

Re: [JAVA3D] AW: [JAVA3D] Confused with the appearance

2003-09-24 Thread David Yazel
To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:57 AM Subject: Re: [JAVA3D] AW: [JAVA3D] Confused with the appearance It doesn't work. Thanks anyway.Boby- Original Message -From: "Dietrich, Harald" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED

Re: [JAVA3D] AW: [JAVA3D] Confused with the appearance

2003-09-24 Thread Robert Gomez-Reino
It doesn't work. Thanks anyway. Boby - Original Message - From: "Dietrich, Harald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 10:39 AM Subject: [JAVA3D] AW: [JAVA3D] Confused with the appearance Try adding this

[JAVA3D] AW: [JAVA3D] Confused with the appearance

2003-09-24 Thread Dietrich, Harald
Try adding this piece of code to your code: BoundingSphere bounds = new BoundingSphere(); bounds.setRadius(Double.POSITIVE_INFINITY); Light light = new AmbientLight(true, new Color3f(Color.WHITE)); light.setInfluencingBounds(bounds); objRoot.addChild(light); light = new DirectionalLi