Environment Maps ?
An environment map is nothing else than a normal texture. Environment mapping is a different algo than texture mapping. Normal texture mapped objects have fixed UV (so texture coordinates) for every vertex. They do not change even when they are rotated.
With environment mapping, the uv's are changing when you rotate the object. So the uv's are fixed by the environment. The best example would be a sphere. While with normal texture mapping you would see the texture of different sides when you rotate the sphere (imagine a sphere with an earth texture map, first you see Europe than america, then asia, india, and so on). With Environment mapping you always see Europe even when you rotate the object, because the uv's aren't fixed to the object but fixed to the environment. I hope this is understandable.
This is normally used to create great mirror and specular lighting effects.
I hope this helps.
Phillip
------------------
<Diego>
Quake2's background was a skybox, so no texture coordinate generation going on there. Without going to deep into it, a skybox is a cube mapped with textures taken from an environment rendered with 180 FOV. When it's projected in the scene, it's projected to infinity (no depth writes) and rotates with the viewpoint.
------------------
Scott Franke [druid-]
sfranke@usc.edu
druid-'s GL Journal
http://www.gamedev.net/opengl
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.