> From: Doug Gehringer <ddg@nosun>
> > From: "Dvorak, Daniel J." <[EMAIL PROTECTED]>
> > Subject: [JAVA3D] polygon with border
> > To: [EMAIL PROTECTED]
> >
> > Is there any easy way to add a border (say, 2 pixels wide) to a filled
> > polygon without using a separate Shape3D? I'm using GeometryInfo to create
> > non-convex polygons. I tried setting the polygonAttributes to
> > polygon_lines, but then there was no fill, and the internal triangles showed
> > up.
>
> You can use a separate Shape3D which shares the same Geometry object. On
> one you have a fill Appearance and the other a line appearance.
Oops, since the polygon has been decomposed, you won't be able to share the
geometry either. Two shapes and two geometries appear to be the minimum.
Doug Gehringer
Sun Microsytems
===========================================================================
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".