🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

AVI texture problems

Started by
1 comment, last by dms 24 years, 1 month ago
I am using Vfw.h and its functions. To get the packed DIB I do: pPackedDib = (unsigned char *)AVIStreamGetFrame(pGetFrame, j); tempPtr=pPackedDib; tempPtr += sizeof(BITMAPINFOHEADER); glTexImage2D(GL_TEXTURE_2D, 0, 3, width, height, 0, GL_BGR_EXT,GL_UNSIGNED_BYTE, tempPtr); but nothing happens.. I bind them properly as well. What can be wrong?
Advertisement
sorry if i''m not a big help with this, but i just wanna ask, you CAN load up AVI files as textures in opengl?

cool.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
of course you can.

This topic is closed to new replies.

Advertisement