PDA

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



yangheng
10-16-2004, 11: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!

jwatte
10-17-2004, 07: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.

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