gluLookAt & depth culling

I have a model 0.0 < z < 30.0. The default gluLookAt(0,-100,0, 0,0,0, 0,1,0); looks at the bottom of the model. If I rotate the model, the bottom of the model occludes anything above it.
If I change to gluLookAt(0,100,0, 0,0,0, 0,1,0); the model disappears completely.
???

Does it matter if gluLookAt is in glMatrixMode(GL_PROJECTION) or glMatrixMode(GL_MODEL)?

[QUOTE=wmelgaard;1262294]I have a model 0.0 < z < 30.0. The default gluLookAt(0,-100,0, 0,0,0, 0,1,0); looks at the bottom of the model. If I rotate the model, the bottom of the model occludes anything above it.
If I change to gluLookAt(0,100,0, 0,0,0, 0,1,0); the model disappears completely.
???[/QUOTE]

glDisable( GL_CULL_FACE );
glDisable( GL_DEPTH_TEST );

And retry. Start debugging with that.

Does it matter if gluLookAt is in glMatrixMode(GL_PROJECTION) or glMatrixMode(GL_MODEL)?

Yes! First, there’s no GL_MODEL (in the fixed-function pipeline); it’s GL_MODELVIEW. And second, gluLookAt is a VIEWING transform so it goes into MODELVIEW. Check this out: