Try this:
// we want to see both sides of the surface
PolygonAttributes pa = new PolygonAttributes();
pa.setCullFace(PolygonAttributes.CULL_NONE);
Appearance app = new Appearance();
app.setPolygonAttributes(pa);
fShapeNode.setAppearance(app);
--Vince
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Antoine
Bignebat
Sent: Monday, June 07, 1999 7:52 AM
To: [EMAIL PROTECTED]
Subject: [java3d] GeometryInfo rendering
Hi,
I'm a beginner in Java3D and I want to display my school in 3D.
I've a file with a first part with all the points of the building, and a
second part with all the polygon array defining the vertex with the
previous points.
All works well... but...
The problem is that I saw the triangles by only one side and I want to see
them on both sides (I've just set a material to the shape).
I would like to know if there is a flag that allows the rendering of both
sides of the triangles.
Or something similar...
Thanks a lot.
Antoine
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/