Re: Readback Framebuffer.

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Wed, 02 Jun 1999 14:52:25 -0700


No this isn't available. The framebuffer is not addressable memory.

The glReadPixels is the fastest option.

You could try reading back GL_UNSIGNED_SHORT and using a 16 bit depth
buffer visual if performance is important to you.

On iR the bottleneck for readback is likely the RBUS which gives you
about 80MBytes/sec readback. For lot's of small readbacks you will see
less performance.

Cheers,Angus.

Peter McDowell wrote:
>
> Hello All,
>
> i have a question, if there is a possibility to get the pointer to the
> framebuffer ( esp. the ZBuffer ). glReadPixels isn't' very fast, when you
> have to read back a big buffer. I'm working on a Onyx2 IR.
>
> Many thanks in advance,
>
> Peter
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
"Microsoft's system was like a forest that hadn't had a controlled
 burn in decades, just waiting for one person with a match to turn
 it into a disaster. Melissa was Microsoft's fault. They left their
 system wide open to this sort of abuse, they knew it could happen
 and did nothing." -- Bruce Perens

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Jun 02 1999 - 15:40:19 PDT

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