try to use the function ''glTexSubImage2D'' to update the texture
Type: Posts; User: xavirn
try to use the function ''glTexSubImage2D'' to update the texture
Check it
http://libufo.sourceforge.net/
glBegin(GL_POLYGON);
glNormal3f (1.0, 1.0, 1.0);
glTexCoord2i(0,0);glVertex3f (-50.0f, 0, -50.0f);
glTexCoord2i(1,0);glVertex3f (50.0f, 0, -50.0f);
glTexCoord2i(1,1);glVertex3f (50.0f, 0, 50.0f);...
"OpenGL Shading Language" http://www.3dshaders.com/joomla/
RECT rect;
GetWindowRect(hwnd, &rect);
in this link you can find a loader for .3ds
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=506
How do you rotate, glRotatef?
Have you try, glMultMatrixf(rotation)?