different images generated?

New Message Reply Date view Thread view Subject view Author view

Liu Xiaoyan (liuxy++at++ihpc.nus.edu.sg)
Wed, 16 Dec 1998 20:34:13 +0800


Hi, all,

I ran into a strange problem: images generated using the same function
are different!

I'm reading RGB values from a pbuffer using glReadPixel and save it as
.ppm files. If I ran it locally on Octane, the images look like
chessboard. However, if I ran it remotely from O2 (rlogin to Octane and
setenv display to O2), I get the right image as displayed in the window.
Isn't this strange? I do get the same pbuffer configurations on both
platforms.

Regarding my problems yesterday ("texture mapping from pbuffer"), is it
possible to set pbuffer as a texture source with pfTexLoadMode(tex,
PFTEX_LOAD_SOURCE, PFTEX_SOURCE_FRAMEBUFFER)? I don't want to copy the
image from pbuffer to main memory and then paging to TRAM.

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
***********************************************************************

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Dec 16 1998 - 04:37:08 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.