Jump to content
  • Advertisement
Sign in to follow this  

OpenGL solved

This topic is 3710 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I want to use some IplImages as textures. Here the type of IplImages are IPL_DEPTH_32F, not IPL_DEPTH_8U. So when substitute the old texture, I wrote: glTexSubImage2D (GL_TEXTURE_2D, 0, 0, 0, imageWidth, imageHeight, GL_RGB, GL_FLOAT, imageData); But the display is only a blank window. Does anyone know why this happens? And how could I display this kind of images in OpenGL? Thanks in advance [Edited by - stella1016 on August 2, 2008 8:39:54 AM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!