Hi, While specifying the geometry are you repeating the first vertex as the last vertex to close the polygon? If you are then that could cause the GeometryInfo to give incorrect results. The GeometryInfo uses the strip counts array to determine the length of each polygon face, and automatically adds the last edge between the last vertex and the first vertex to close the polygon. Also, make sure you are specifying the contour counts and strip counts arrays correctly. Each entry in the contour counts array specifies the number of faces in that polygon. So for polygon i, the i-th entry in the contour counts array will be 1 + (no. of holes in polygon i). The 1 is for the outer contour of the polygon. The strip counts array specifies the number of vertices (not edges) in each face (polygon or hole). For building an interface you can use any of the AWT or Swing components. - Suri >I am trying to draw a 3D surface which could contain holes. > >I found it feasable by using GeometryInfo ... But it seems to me that > >GeometryInfo add a line from the last point to the first one then when > >holes exist. The image could be deformed ...? Is there any idea ? > >Another question, what is the best manner to build an interface (with menus > >and icons) for a JAVA3D output ...? > >Thanks for any help > >Firas > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
