SED

04-25-2000, 03:32 AM

Hi guys & gals,

Im fairly new to OpenGL so....

How do you people put arcs on your surfaces? Like to round the corners on a QUAD.

I've been using gluDisk() to put a radi where I want. It works, and you cant see where the disk overlaps the polygon, but....

I guess another way would be to use GL_TRIANGLES.

x = r * cos(DtoR(a));

y = r * sin(DtoR(a));

yada yada

but.....

Does OpenGL have a function to help me out?

Im really starting to dig OpenGL. http://www.opengl.org/discussion_boards/ubb/smile.gif

Im fairly new to OpenGL so....

How do you people put arcs on your surfaces? Like to round the corners on a QUAD.

I've been using gluDisk() to put a radi where I want. It works, and you cant see where the disk overlaps the polygon, but....

I guess another way would be to use GL_TRIANGLES.

x = r * cos(DtoR(a));

y = r * sin(DtoR(a));

yada yada

but.....

Does OpenGL have a function to help me out?

Im really starting to dig OpenGL. http://www.opengl.org/discussion_boards/ubb/smile.gif