Liu Xiaoyan (liuxy++at++ihpc.nus.edu.sg)
Tue, 01 Dec 1998 20:00:06 +0800
I'd like to do real time texture mapping using pixels from a pbuffer. I
managed to get pfChannel render into that pbuffer, but don't how to read
the pixel out of it for texture mapping because:
pfTexture::setImage(uint* image...) requires an array of UINT for
texture
So, I think I should use glReadBuffer() to set the framebuffer first
before calling glReadPixels to get the array of pixel. However, there is
no option for me to tell glReadBuffer to read from a pbuffer:-(
What should I do then?
Thanks!
Liu
-- *********************************************************************** Liu Xiaoyan Institute of High Performance Computing Research Engineer National University of Singapore Data Visualisation Group http://www.ihpc.nus.edu.sg Tel:(65)7709267 ***********************************************************************
This archive was generated by hypermail 2.0b2 on Tue Dec 01 1998 - 04:01:56 PST