Try this: 1. Use an ordered group 2. Have two versions of your geometry 3. The first one should be LINE mode 4. The second version should be FILL mode and CULL_NONE
The idea here is that the only part of the zbuffer which will get set in the first pass is for all the edges of the lines. The second pass will have zbuffer fighting and I assume that the lines will win when they should (closest to view), but be covered where they should (hidden line removal) Dave Yazel -----Original Message----- From: Robert, Jerome [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 4:41 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Render polygons with both POLYGON_FILL and POLYGON_LINE ? Hi, I would like to display a meshing of triangles and not show the hidden faces. I cannot use the PolygonAttributes.CULL_BACK attribute because I have thin surfaces to display. If I render triangles with PolygonAttributes.POLYGON_LINE hidden faces are shown. If I render with PolygonAttributes.POLYGON_FILL hidden faces are not shown but the edges of the triangles are not rendered (and I want them to be). I tried to duplicate my shape and render it one time with POLYGON_LINE and one time with POLYGON_FILL. The problem is that the one rendered with POLYGON_FILL often entirely overlap the one rendered with POLYGON_LINE. I also would like to highlight some edges of my meshing. How can I change the color of an edge ? I tried to overlap it with a line of a different color but sometime the highlighting line is overlapped by the meshing edge. thanks in advance! Regards, Jerome Robert. =========================================================================== 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". =========================================================================== 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".