Re: pfChannel::clear

New Message Reply Date view Thread view Subject view Author view

Don Burns (don_burns++at++peru.csd.sgi.com)
Tue, 17 Nov 1998 09:46:27 -0800 (PST)


>
> Hi pfGuys,
>
> This is very basic but I couldn't find anything about it in the manual:
> Is there a possibility to say Pf what parts of the frame buffer should be
> cleared?
> For example: set Z buffer to max values and don't change RGB values.
> Otherwise it would be necessary to do it with a OpenGL calls. If so, how to mix
> it with draw callback in a suitable manner?

Use pfClear(), instead of chan->clear(). You may have to preface it with
a glScissor, if you are using multiple channels.

-don

>
> Best regards and
> pfGreetings,
> Dirk.
>
> --
> ----------------------------------------------------
> Dipl.-Inf. Dirk Scheffter
> Fraunhofer IFF fon: +49 (0) 391/40 90-854
> Sandtorstr. 22 fax: +49 (0) 391/40 90-870
> D-39106 Magdeburg e-mail: scheff++at++iff.fhg.de
> Germany http://wwwue.iff.fhg.de/~scheff/
> ----------------------------------------------------
> =======================================================================
> 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 Tue Nov 17 1998 - 09:47:40 PST

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