Hi, Robert, Attached are two jpeg files. I have verified that the jpeg loader identifies the file "blank.gray.jpg" to have internalFormat and pxielFormat of GL_LUMINANCE, and the file "blank.color.jpg" to be GL_RGB. The former image causes all subsequent images to show up as gray scale when they are applied to the texture.
Yes, I'm reusing a Texture2D by applying new images to it. I'm sort of doing a slide show, so I just create a rectangle with a 2D texture, where new images are being applied to it as time goes on. Best Regards, Yefei > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:osg-users- > [EMAIL PROTECTED] On Behalf Of Robert Osfield > Sent: Saturday, August 18, 2007 10:25 AM > To: osg-users@lists.openscenegraph.org > Subject: Re: [osg-users] Color vs. B&W images as textures > > Do mean you are reusing a Texture by applying new Images to it? >
<<attachment: blank.gray.jpg>>
<<attachment: blank.color.jpg>>
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org