Skip to main content
gamedev.net
🔒 Locked

SolidTeapot

Started by Prozak 6 replies 750+ views
Original Post
Prozak
Prozak
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."
Mr DirectX
Mr DirectX
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!
Scarab0
Scarab0
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??
Dirk =[Scarab]= Gerrits
a2k
a2k
glCreateQuakeEXT() works too.
------------------General Equation, this is Private Function reporting for duty, sir!a2k

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.