Re: How to do subloading of textures in performer ?

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Tue, 28 Oct 1997 08:29:08 -0800


Works for me:

// you need this somewhere when you create the texture
// this is probably what you are missing

Shared->distorttexture->setFormat(PFTEX_SUBLOAD_FORMAT, PF_ON);

Shared->distorttexture->subload(PFTEX_SOURCE_FRAMEBUFFER,
                           NULL, 0, 0, -1, 0, 0, IMAGE_X, IMAGE_Y);

depending on the release of performer you may not require the -1
argument.

Cheers,Angus.
=======================================================================
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:56:08 PDT

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