Re: [JAVA3D] Use of java.awt.Shape with Java3D

2001-04-18 Thread Firas MOHAMED
Hi, Think you need to use "MOVE_TO" in order to identify the different polygons of the shape. For each one, you need to test if it is a hole or not. Now if your shape contains more than one poloygons in each eventually some holes then you need to test if the hole identified belongs to the polygon

[JAVA3D] Use of java.awt.Shape with Java3D

2001-04-17 Thread Jean-Marie Dautelle
Hi, I have geometrical shapes created using java.awt.Area (using Constructive Area Geometry). I would like to render this geometry with Java3D. Using the java.awt.PathIterator class, it is pretty straight forward to create the corresponding java3d geometry. Unfortunately, if the geometry contains