solved

Started by
-1 comments, last by stella1016 15 years, 8 months ago
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]

This topic is closed to new replies.

Advertisement