What said David work fine but I have to give a polygon offset to the filled geometry if I want to be sure it doesn't overlap the wireframe geometry.
Increasing the width of the line may work fine but I cannot check it. I guess it's not supported either by Windows or by my graphic board because when I change lines width they keep there thin aspect. Did someone succeed to change line width under Windows ? Thank you everybody. Jerome. > -----Message d'origine----- > De : Joachim Diepstraten > [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 2 juillet 2002 15:56 > À : [EMAIL PROTECTED] > Objet : Re: [JAVA3D] Render polygons with both POLYGON_FILL and > POLYGON_L INE ? > > > Hi David > > > 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) > > This has two flawbacks: > > 1. You will most likely get only the sillhouette lines (I'm not sure > if Robert wants that) > > 2. In my experience I noticed that the lines would more likely lose. > So it's better to draw first the filled and than the lines > and increase > the line width a bit > > EOF, > J.D. > > -- > Explore SRT with the help of Java3D > (http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski) > (http://www.antiflash.net/java3d/relativity (mirror) > > ============================================================== > ============= > 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".