Mario Veraart (rioj7++at++fel.tno.nl)
Wed, 5 Nov 1997 11:32:40 +0100 (MET)
I have found a mail concerning pbuffers that contains a few URLs
Mario
-----------------------------
Subject: Re: PixelBuffer on RE2 With irix6.4
From: brianp++at++ra.avid.com
Date: Fri, 16 May 1997 08:44:45 -0500
To: Yann Argotti <Yann.Argotti++at++imag.fr>
Reply-To: brianp++at++ra.avid.com
Sender: brianp++at++ra.avid.com
Cc: info-performer++at++sgi.com
On May 15, 2:35pm, Yann Argotti wrote:
> I want to make offcreen Rendering with an Onyx Re2 (2xR10000, 1 Gbytes
for RAM
> and irix 6.4). PixelBuffer solution appears the good way for that.
>
> My problem is that, when I create PBuffer with glXCreateGLXPbufferSGIX
> (an OpenGL instruction), a "BadAlloc" error (ie: insufficient resources
> for operation) stops the programme.
>
> I just try to create a PBuffer of 2x3 pixels, with a red, green, blue
size
> of 4, depth size of 23, in a single buffer mode and aPBuffer drawable
type.
> glXChooseFBConfigSGIX function gives me 3 suitable FBconfigs (I decide
to use
> the first one (the best) where GLX_MAX_PBUFFER_WIDTH_SGIX is 2048 and
> GLX_MAX_PBUFFER_HEIGHT_SGIX is 1120).
>
> Also, I suppose having enought ressources to allocate this little
PBuffer
> and the solution, to solve current problem, is not very clear.
> Is it a bug from me, from OpenGL or from Hardware ??
As part of the SIGGRAPH '97 course on OpenGL and Window System Integration
which I'm doing with Mark Kilgard one of the subjects I investigated was
off-screen rendering methods, including pbuffers.
Pbuffers are a pain to use. I think I finally figured them out though.
Check out my notes on the subject at
http://www.ssec.wisc.edu/~brianp/sig97/offscrn.htm
See the "SGI Pbuffers" section.
It explains the "BadAlloc" problem.
Then, grab http://www.ssec.wisc.edu/~brianp/sig97/pbuffer.trz which contains
pbuffer utility code and a demo program.
Hope this helps.
-Brian
-- -------------------------------------------------------------------- Brian Paul Avid Technology Madison, WI brianp++at++elastic.avid.com======================================================================= 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:56:12 PDT