Hi,
I don't know if you also want to fill the polgons or if you only want
wireframe?
If you want to fill them then the trick I use might be useful to you.
I create 2 Shape 3D's with different appearences.
1 is set for filled polygons and CULL_BACK
1 is set for polygon edges, and CULL_FRONT
Then I create a single geometry, and add it to both Shape3D's.
This has the effect ofdrawing only the visible edges of the geometry.
You can play with the polygon offset, and possibly put them in an
ordered group to perfect it if you have problems.
-Kyle
White Morph wrote:
> Hi,
>
> I posted my problem some days ago, but no one can give me an answer. It's
> a simple problem, but I don't have an answer by using Java3D. Is it possible in
>Java3D?
>
> The problem is: to draw the outline for an arbitray polygon, but not those
> edges generated by the tessellation.
>
> In OpenGL, we have the glEdgeFlag() function to control the hide/display of
> an edge, so we definitely can do it.
>
> In Java3D, the GeometryInfo class does the tessellation job, but it doesn't
> have any information to control the display/hide of an edge. Does any other
> class have the control?
>
> Thanks a lot
>
> white
>
> ===========================================================================
> 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".
>
--
_
-------------------------------ooO( )Ooo-------------------------------
Kyle J. McDonald (o o) Systems Support Engineer
Sun Microsystems Inc. |||||
Enterprise Server Products [EMAIL PROTECTED]
1 Network Drive BUR03-4630 \\\// voice: (781) 442-2184
Burlington, MA 01803 (o o) fax: (781) 442-1542
-------------------------------ooO(_)Ooo-------------------------------
===========================================================================
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".