PDA

View Full Version : creating disk?



sarahippo
07-21-2003, 03:00 PM
Hi,
Is it possible to create a disk, which I can deform its surface later on.
How do I do this?
I tried b-spline with just simple mathematics, but it doesn't give me the exact circular shape.

any suggestion?

Brian Jones
07-21-2003, 03:16 PM
There are some glu routines to create disk shaped objects. Check out the gluNewQuadric, gluDisk, and gluDeleteQuadric functions...

sarahippo
07-23-2003, 02:46 PM
I can't find those glu routines to create a disk with non-flat surface.
Where should look into?
How do I make this happen?
Please HELP!!!!!!

Deiussum
07-24-2003, 04:38 AM
If you want to be able to deform the disk, you're going to have to calculate the initial cylinder vertices yourself, which isn't actually all that difficult.