Greetings, Mr. Quebral,

        If you mean something other than the cylinder class provided by Sun, 
there
is some code written in a Java 3D-like language available from the page
http://www.idx3d.ch/idx3d/idx3d.html:

       1) Go to the "Source Code" link on the right side.
       2) Select the "main source code site", as long as you agree with
whatever he has there.
       3) From the Main Source Code page, scroll down and select the
idx3d_ObjectFactory link to download the code.

    That class creates several objects, including a "curvy" tube (the TUBE()
method).  From that source code you get an excellent example of how to
create a tube, although it isn't strictly in Java 3D.  However, you can
easily convert it over.  That may be overkill for what you want since you
can define any path for it to follow, not just a straight line.  However,
there should be something, including a method CYLINDER(), you might be able
to use.

    c h e t !


-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Everett Quebral
Sent: Tuesday, January 25, 2005 4:28 AM
To: JAVA3D-INTEREST@JAVA.SUN.COM
Subject: [JAVA3D] Tube Class


Hello to all,

Is there anybody who has a Tube Class who's willing to share his/her source
code?

Thanks

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