#### Archived

This topic is now archived and is closed to further replies.

# SolidTeapot

This topic is 5943 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi all, how do I create, without using glut.h, a solid teapot in OpenGL? What call should i make? I''m using: gl.h glu.h glaux.h Thanx all, Hugo Ferreira UniteK Future "Concentrate, and you can see it. If you see it, then it is possible. If it is possible, you can Achieve it."

##### Share on other sites
What makes you think it''s just one call?

I think you need to get a model of a teapot and load it like any other model.

##### Share on other sites
Let me just say this:
*lol*

Hugo Ferreira
UniteK Future
"Concentrate, and you can see it. If you see it, then it is possible. If it is possible, you can Achieve it."

##### Share on other sites
I believe you want to call "auxSolidTeapot(double)". I think this is in the glu.h file. Note that unless you have a fast processor, rendering this pot will be very slow!

##### Share on other sites
Thanx, I apreciate it,

Hugo Ferreira
UniteK Future
"Concentrate, and you can see it. If you see it, then it is possible. If it is possible, you can Achieve it."

##### Share on other sites
Never thought there was such a function.
Cool.

Btw, could one speed it up with something like this?
GLuint teapot = glGenLists(1);glNewList(teapot, GL_COMPILE);auxSolidTeapot(double);glEndList();//...glCallList(teapot);

If auxSolidTeapot uses immediate mode commands it should work, right??

##### Share on other sites
aux is buggy + has known memory leaks.
btw the source for glut is under the /lib directory

##### Share on other sites
glCreateQuakeEXT() works too.