What is the equivalence in OGL to DX:s world matrix and viewmatrix. I have been browsing the OpenGl headers and saw that you can switch the matrix mode between GL_PROJECTION, GL_MODELVIEW and GL_TEXTURE.

What is the texture matix for and does the modelviewmatrix correspond to both the view matrix and the world matrix in DX?

As far as I understand, the modelview matrix in OpenGL is the same as both the view and world matrix in D3D.

The texture matrix can be used to transfrom texture coordinates, just like you use the morelview matrix to transform vertices. You can, for examaple, translate the texture corodinates on a quad (like a billboard) to slide the texture over the quad, instead of manually calculate new texture coordinates.