Well, as I was writing the question, the difference between borders around
the whole polygon and borders around the viewed surface occurred to me.  Of
course you could draw a line around a 3-D polygon or shape.  Just draw the
edges of the shape .  Not talking about picking here.  What I'm really
asking is: Is there any interest among list readers in drawing borders
around objects?  This seems like a functionality that would be really easier
for Sun to add to J3D than for me to constantly change the shape of a line
around an object as viewed.  Or at least show us how to sub-class the
Appearance object to achieve the desired effect.

Daniel

-----Original Message-----
From: Yazel, David J. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 12:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] border on polygons


Well, a black line around a 3d object would not really work, unless all your
objects are really 2d objects being view straight on.  Do you mean a line
around the object as it relates to the image plate?  There are different
ways to make a picked object stand out.  Changing the appearance is the
easiest way. If you have a cube, the "line" surrounding that cube would have
to change as the view on the cube changed.  This would mean the shape of the
line would also have to change, because what I think you really want is an
outline around the object, as viewed, not as it actually exists.

Dave Yazel

> ----------
> From:         Dvorak, Daniel J.[SMTP:[EMAIL PROTECTED]]
> Reply To:     Discussion list for Java 3D API
> Sent:         Thursday, September 28, 2000 12:28 PM
> To:   [EMAIL PROTECTED]
> Subject:      [JAVA3D] border on polygons
>
> Aside from lineStripArrays, is there any easy way to draw borders around
> objects?  I would think that since a Shape3D has all the geometry
> information it would be easy to make a Shape3D draw itself with a black
> line
> around the edges.  Or perhaps the border could be drawn by the Appearance?
>
> Daniel Dvorak

===========================================================================
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