Hi Robert,

one dirty trick would be to use a texture for the triangles that show a border
at the triangle edges. highlighting would work by doublicating the respective
triangles and by texturing them with another texture (highlight colored) that is
z-offseted to prevent overlaps.

just an idea,
Karsten


"Robert, Jerome" wrote:

> Hi,
>
> I would like to display a meshing of triangles and not show the hidden
> faces. I cannot use the PolygonAttributes.CULL_BACK attribute because I have
> thin surfaces to display. If I render triangles with
> PolygonAttributes.POLYGON_LINE hidden faces are shown. If I render with
> PolygonAttributes.POLYGON_FILL hidden faces are not shown but the edges of
> the triangles are not rendered (and I want them to be). I tried to duplicate
> my shape and render it one time with POLYGON_LINE and one time with
> POLYGON_FILL. The problem is that the one rendered with POLYGON_FILL often
> entirely overlap the one rendered with POLYGON_LINE.
>
> I also would like to highlight some edges of my meshing. How can I change
> the color of an edge ? I tried to overlap it with a line of a different
> color but  sometime the highlighting line is overlapped by the meshing edge.
>
> thanks in advance!
>
> Regards,
>
> Jerome Robert.
>
> ===========================================================================
> 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