I am using two Shape3Ds loading from the same GeometryInfo object.  Before,
when the Shape3Ds were in the same branchgroup, they looked fine.  Now I
have to split my geometry into several branchgroups to swap them in and out
of the scenegraph, and my border ends up in a different branchgroup.  Now
the border looks broken and ugly.  Is that "artifacts"?  I looked for
"PolygonOffset" without much luck. What is it?

Daniel Dvorak

> -----Original Message-----
> From: Allen McPherson [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 08, 2000 10:29 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [JAVA3D] polygon with border
>
> "Dvorak, Daniel J." wrote:
>
> > Is there any easy way to add a border (say, 2 pixels wide) to a filled
> > polygon without using a separate Shape3D?
>
>         You must use two Shape3Ds.  Also, you'll probably need to
>         use PolygonOffset on one of the shapes to prevent artifacts.
>         You might also look at DecalGroup, but it doesn't guarantee
>         you won't get Z-buffer artifacts.
>
> --
> Allen McPherson
> [EMAIL PROTECTED]
>
> ==========================================================================
> =
> 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".

Reply via email to