Amaury Aubel (aubel++at++lig.di.epfl.ch)
Wed, 25 Jun 1997 17:47:48 -0600
First of all thanks for your help.
I was not aware there was such a thing as pbuffers.
But how could I load something from the pbuffer into the TRAM? That puzzles me
most...
I could use glXMakeCurrentReadSGI to tell openGL to use the pbuffer as a source
for all subsequent glReadPixels, glCopyPixels etc.
But I strongly doubt this will apply to a texture load specified as follows:
pfTexLoadMode(tex, PFTEX_LOAD_SOURCE, PFTEX_SOURCE_FRAMEBUFFER);
pfTexLoadSize(tex, WIN_X, WIN_Y);
pfLoadTex(movie->tex);
Does anyone have an idea of what would happen?
An alternative solution would be to transfer a block of pixels from the pbuffer
into CPU memory and then load it to TRAM with a pfTexImage(). Seems awfully
complicated (and slow).
Any idea of how I could do this?
Amaury.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:30 PDT