PDA

View Full Version : How to draw part of sphere,cylinder or disk?



Mickey008
09-04-2004, 04:53 AM
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.

mikael_aronsson
09-04-2004, 06:15 AM
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.

Mikael

Mickey008
09-04-2004, 05:10 PM
Can you be kind enough to give me some examples with source code to illustrate how to use clipping face.Thank you.

mikael_aronsson
09-04-2004, 10:02 PM
http://fly.cc.fer.hr/~unreal/theredbook/chapter03.html