JOGL 3D Cylinder

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JOGL 3D Cylinder

ciaraeddie
Hello, I am new to JOGL and can't understand how to create a 3D cylinder in JOGL. I was hoping somebody could post some sample code here to explain. If you could also include how to choose the x y and z co ordinates also that would be a big help.

P.S I read the JOGL documentation but i'm still confused.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL 3D Cylinder

elect
Start first from one hello triangle, once you get a first touch with jogl and opengl, you can use that as a base to render a cylinder. What you need to do then is just modify the geometry.

Some examples on internet may help you in this regards