"Correct" texture mapping switches and filter for environment mapping

Hi there,
Due to lack of of a proper code for a ksybox, i built myself a ‘manual’ skybox, by positioning 6 quads around a sphere.
The code is working fine, no prob there, but i got some troubles with the ‘right’ texture mapping filters for my ‘walls’
For my center shining sphere i use:


texSphere.setTexParameteri(GL.GL_TEXTURE_WRAP_S, GL.GL_REPEAT);
            texSphere.setTexParameteri(GL.GL_TEXTURE_WRAP_T, GL.GL_REPEAT);
            gl.glTexGeni(GL.GL_S, GL.GL_TEXTURE_GEN_MODE, GL.GL_REFLECTION_MAP);
            gl.glTexGeni(GL.GL_T, GL.GL_TEXTURE_GEN_MODE, GL.GL_REFLECTION_MAP);
            gl.glTexGeni(GL.GL_R, GL.GL_TEXTURE_GEN_MODE, GL.GL_REFLECTION_MAP);
            gl.glEnable(GL.GL_TEXTURE_GEN_S);
            gl.glEnable(GL.GL_TEXTURE_GEN_T);
            gl.glEnable(GL.GL_TEXTURE_GEN_R);

For my walls i use the same…

Now during the rotation of the sourounding cube, my ‘wall’ textures moving and bending around too. I mean that looks fancy, but i want to have static textures for the walls.

Does any of you have an idea, how to use these texture filters properly to create an ‘correct’ environment mapping?

Thanks,

Regards,
normen

You shouldn’t be using any kind of environment map when rendering your skybox.
You want the skybox to look like sky, not like walls that are reflecting sky.

That’s what your sphere should do (with GL_TEXTURE_CUBE_MAP - google it for examples)

Just draw the skybox with normal calls.

Want some help making skies? try this: http://www.3dna.net/community/staticskies.htm

Aaahh…
Googleing for GL_TEXTURE_CUE_MAP + examples showed some very promising stuff. Will test that tonight at home. Thanks very much;-)
PS: I’m using Ubunto, so no Terragen for me unless i get that with Wine working, which i will try too.
Thanks;)