View Full Version : How to draw a teapot in OpenGL
openglNewbie
01-30-2001, 12:17 PM
Hi,
I know that I can use glutSolidTeapot. Is there anyway to do it without using the glut.h?
Thanks.
ZeeBoy
01-30-2001, 12:32 PM
Yep
without the glut.h u can do this with the glaul.h and the following function call
auxSolidTeapot ( GLdouble )
Zee
openglNewbie
01-30-2001, 01:33 PM
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:
Yep
without the glut.h u can do this with the glaul.h and the following function call
auxSolidTeapot ( GLdouble )
Zee
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
billy
01-30-2001, 11:43 PM
You can draw the teapot using a modeler like 3D studio and then import the data into your program.
Relic
01-31-2001, 02:19 AM
Get the GLUT sources and look how it's done in glut_teapot.c. All OpenGL calls and bezier mesh data are there.
FoxDie
02-01-2001, 11:07 AM
I also hate glut. http://www.opengl.org/discussion_boards/ubb/smile.gif
Use glaux.h.
auxWireTeapot(GLdouble size) to create wireframe
auxSolidTeapot(GLdouble size)to create solid teapot.
ZeeBoy
02-01-2001, 12:50 PM
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
FoxDie
02-01-2001, 09:06 PM
ZeeBoy
I wishing you cancer. http://www.opengl.org/discussion_boards/ubb/frown.gif
[This message has been edited by FoxDie (edited 02-01-2001).]
ZeeBoy
02-02-2001, 01:19 PM
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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.