Title: RE: [JAVA3D] program installation - Step by step instructions

I am using the Sphere util. class to create spheres.

    Sphere S1 = new Sphere(sphereRadius);
    S1.setCapability(Sphere.ENABLE_APPEARANCE_MODIFY);
    S1.setAppearance(sphereAppearance);
    TG1.addChild(S1);
    BG.addChild(TG1);

The spheres do show up but they are black even though I set the color in the appearance to be red.

Could it be the surface normals are pointing in the wrong direction?
Is there a way to invert the surface normals on a Sphere object?

I've used Spheres before with no problem.  I didn't have to invert any normals.  So I don't really think this is the problem.  But I can't think of anything else that it could be.

Any suggestions?

Bob Gray

Reply via email to