View Full Version : can I use 3dtexture when rendering to pbuffer

10-16-2004, 10:59 PM
I use pbuffer well under a small win32 application! but when I use pbuffer under MFC and use 3dtexture to draw ,I only produce a white quads. but when ignoring the 3dtexture ,I only use glcolor3f ,it shows me that the pbuffer's color changed!
so I wonder whether I can use pbuffer as well as 3dtexure!

10-17-2004, 06:37 AM
Call glGetString(GL_VENDOR) or GL_RENDERER and see whether the MFC program got the generic Microsoft renderer.

Also, sprinkle assert(!glGetError()) at the beginning and end of each function, to catch errors early.

10-25-2004, 02:23 AM
I've used pbuffers and 3d textures. Can you post some code?