How to draw a teapot in OpenGL

Hi,

I know that I can use glutSolidTeapot. Is there anyway to do it without using the glut.h?

Thanks.

Yep
without the glut.h u can do this with the glaul.h and the following function call

auxSolidTeapot ( GLdouble )

Zee

glaul.h? I don’t know about it. Do you mean glaux.h?

Does it need a special .dll file to execute the exe file like file created by glut.h?

Originally posted by ZeeBoy:
[b]Yep
without the glut.h u can do this with the glaul.h and the following function call

auxSolidTeapot ( GLdouble )

Zee[/b]

ZeeBoy meant “glaux.lib”. And glaux is the only part of the Win32 OpenGL that is a static library (i.e. there is no glaux.dll: all the code is in the .lib).

Best regards.

Eric

You can draw the teapot using a modeler like 3D studio and then import the data into your program.

Get the GLUT sources and look how it’s done in glut_teapot.c. All OpenGL calls and bezier mesh data are there.

I also hate glut.
Use glaux.h.
auxWireTeapot(GLdouble size) to create wireframe
auxSolidTeapot(GLdouble size)to create solid teapot.

so cant a guy be forgiven for not using a spell checker.

we r programmer “artists” we want quick simple answers

no offence just standing up for myself.

Zee

ZeeBoy
I wishing you cancer.

[This message has been edited by FoxDie (edited 02-01-2001).]

oh yeah!! than u

Hope u drown in ur own Butt Mucous.

Perhaps ur head is already too far up ur “___” fill in the blanks.

plz dont take offence.
sorry

but u r right i use glut for small demos and tests but for most of my apps i use win32 u have a far greater control over the behaviour of ur app in that way

Zee