Advertisement

Help, packed DIB and opengl

Started by May 13, 2000 06:51 PM
-1 comments, last by dms 24 years, 8 months ago
I am using Vfw.h and its functions to get the packed DIB off each AVI frame. This is what I do: pPackedDib = (GLubyte *)AVIStreamGetFrame(pGetFrame, j); tempPtr=pPackedDib; tempPtr += sizeof(BITMAPINFOHEADER); glTexImage2D(GL_TEXTURE_2D, 0, 3, width, height, 0, GL_BGR_EXT,GL_UNSIGNED_BYTE, tempPtr);

This topic is closed to new replies.

Advertisement