How to draw part of sphere,cylinder or disk?

How to draw part of object,such as part of sphere,part of cylinder and part of disk.I know that glusphere glucylinder only draw the entire object,but how to draw part of them?Thanks.

Hi !

If you just want simple stuff you can use a clipping plane, but for more complex stuff you need to use something else to render the objects.


Can you be kind enough to give me some examples with source code to illustrate how to use clipping face.Thank you.