Chris Fenton wrote:
I have been struggling a bit with this.
I have a 3D line, I would like to generate a 3D tube.

Any Hints,


Hi, you have to generate the vertex of the triangles (a float array), place them in some kind of GeometryArray (with setCoordinates), and attach it to a Shape3d. Where you place the the vertex depends of the shape you need, how many triangles you want, how do you want dispose those, ecc.

On j3d.org you can find a lot of geometries gemerated in this way (i
think this is the only possible one), even if they use a GeometryData
class to wrap java3d classes.

Bye


Lorenzo


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