Jump to content
  • Advertisement
Sign in to follow this  

OpenGL solved

This topic is 3793 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!