All,
I have created an Extrusion class which extends Shape3D. The shape of the
extruded object is defined by a cross-section passed to the Extrusion
constructor. I have got the code which generates the side of the extruded
object working successfully.
I have now moved on to writing the code to generate the top and bottom of
the extruded shape. If the given cross-section is convex then a
TriangleFanArray can be used to create the top and bottom caps. However, I
want to be able to deal with both convex and concave cross-sections. Does
anyone have any ideas as to how this might be achieved.
Is Java3D capable of drawing concave polygons? (I don't believe that it is)
Or is there a recgonised way of intelligently dividing the concave polygon
into several convex polygons.
Thanks,
Andy
===========================================================================
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".