which: glDrawPixels or glTexImage?

New Message Reply Date view Thread view Subject view Author view

Charles Seberino (seberino++at++or_lab.tu.hac.com)
Fri, 29 Aug 1997 09:30:22 -0700


I am wondering which method is more efficient.

Problem:

    I have a floating point array of intensity values (0->1) for an image. I
need to draw this array several frames later into a pfChannel. Would it be
better to call glDrawPixels with my array, or should I create a texture and
apply it to a flat polygon to draw it in the channel? I need to do this
routine every frame. Is there a different method for drawing this to a
channel? I am running on an Onyx2, 2RM 64MB texture, pf2.1.

Any help would be appreciated.

Charles

-- 
-----------------------------------------------------------------------
Charles Seberino                    Hughes Missile Systems Company
seberino++at++or_lab.tu.hac.com          phone: (520) 794-7078
                                    fax:   (520) 794-8625
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:48 PDT

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