Hi Antoine,

if you don't know wether the orientation of your triangles is left- or
right-handed, use also setBackFaceNormalFlip(true) of class
PolygonAttributes.

Gernot Veith
[EMAIL PROTECTED]
www.janet.de


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

Reply via email to