Hi Demir,

I've played a little and I've created for you a class to generate a half
cylinder parametrized by height, inner/outer radius and number of slices for
the curvature.

The class has a static method generate(...) which will create for you a
Geometry object.

Also the class is runnable, so you can test your cylinder.

I've intentionally left out the texture coordinates as an exercise for you.

You should really try to experiment by creating geometries by hand from time
to time, to get a feeling of what can be done and how. And don't forget to
read the manuals.

Cheers,

Florin

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of demir sencer
Sent: Donnerstag, 1. April 2004 15:33
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] how to draw a 3D hollow-semi-cylinder HELP


first of all i'm so so so sorry,Florin and Gilson,
i made mistake,i wanted to send to whole group my
messages but i sent emails by mistake to 2 u who
helped me with their ideas/code..sorry to disturb u
:(:(

its what i did up to now,its code of my 3DWorld
class..i created everything here..if anyone wants i
can send all my package to have a look how it
works,how it looks like..
...

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

Attachment: HollowCilinder.java
Description: java/

Reply via email to