Hi,
I am currently trying to map a CEGUI created GUI texture to a quad in osg. I
am getting the CEGUI openGL texture Id from cegui and then trying to load that
into an osg::Image and then map that as a texture onto a quad. I am just
getting a solid color mapped onto the quad (it happens to
,
Robert.
On 13 July 2013 22:10, Cody Hanika chan...@iastate.edu wrote:
Hello everyone,
I am trying to load an OpenGL texture into an osg::Image. I know the
OpenGL textureId and I have attempted using both
Image::readImageFromCurrentTexture after using glBindTexture() in a
Drawable
I just figured out my problem that I was having. I had a small bug in my
code that was preventing the Drawable from updating its image data. Using
glBindTexture and then using osg::Image::readImageFromCurrentTexture worked
out for me.
Thanks,
Cody
On Thu, Jul 18, 2013 at 7:19 PM, Cody Hanika
Hello everyone,
I am trying to load an OpenGL texture into an osg::Image. I know the OpenGL
textureId and I have attempted using both
Image::readImageFromCurrentTexture after using glBindTexture() in a
Drawable subclass as well as manually using glGetTex* calls to retrieve
information about the
4 matches
Mail list logo