Draw Sphere and Cylinder

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

Draw Sphere and Cylinder

ronypaul77

I want to draw a 3D sphere/Ball with a given center (x,y,z)

and a 3D Cylinder around a line given by 2 ponits (x1,y1,z1) and (x2,y2,z2).

I can't find the exact methods for doing the tasks. Can Anyone help me regarding that!!

Thanks in Advance..
Reply | Threaded
Open this post in threaded view
|

Re: Draw Sphere and Cylinder

gouessej
Administrator
Hi

Look at the examples provided with JOGL. You can use GLUT to do that.
Julien Gouesse | Personal blog | Website