Re: [info-performer] pfChannel::clear() versus pfClear()

New Message Reply Date view Thread view Subject view Author view

From: Goncalo Carvalho (g.carvalho++at++gsa.ac.uk)
Date: 03/11/2003 01:22:08


How about in the channel draw callback do a
glClearColor(...) and glClear(...) and not use the channel->clear?

The obvious drawback is if you have an EarthSky.

The other solution is, as you noted, to use an EarthSky.

Goncalo

Bram Stolk wrote:
>
> Hello,
>
> I understand that pfChannel::clear() will, among other things,
> make a call to pfClear(PFCL_COLOR | PFCL_DEPTH, NULL)
>
> However, what if I want to control the clear color?
> pfClear() let's you do this, but how can I have the Channel use
> a non-black clear color?
>
> I tried some meddling with callbacks and clearing, but I could
> not get it to work in a quad buffered multi pipe setup. Can it be
> done without resorting to the use of an earth-sky model?
>

-- 
Goncalo Carvalho
Digital Design Studio - Glasgow School of Art
House for an Art Lover - Bellahouston Park
10 Dumbreck Road 
Glasgow G41 5BW
United Kingdom

Tel: +44 (0) 141 353 4616 Fax: +44 (0) 141 353 4422 Mobile: +44 (0) 7766 295867 mailto:g.carvalho++at++gsa.ac.uk


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Mar 11 2003 - 01:26:38 PST

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