Lance R. Marrou (marrou++at++vsl.ist.ucf.edu)
Wed, 22 Feb 1995 09:32:14 -0500 (EST)
...
> mode remains drawn there. How do I get this area cleared when I
> switch from the 1 channel to the three channel mode?
Make yet another channel that covers the whole screen. Have its draw channel
function be like so:
void mainDrawChannel (pfChannel *channel, void *data)
{
short mainBackground[3] = {0.0f,0.40f,0.40f};
c3s(mainBackground);
clear();
}
This worked for me (before I realized that multiple channels were not efficient
on a single pipeline and single CPU machine). I haven't looked at this in
about a year or more (Performer 1.0, beta I think) so it might be missing
something.
______________________________________________________________________________
/\ ______ /\____ ______ ______ E-mail: marrou++at++vsl.ist.ucf.edu
Visual / / / _ / / __ // ____// ____/ VSL: (407)658-5073
Systems / /__ / /_/ / / / / // /___ / __/_ R. Marrou Fax: (407)658-5059
Lab /____//____/\\/_/ /_//_____//_____/ http://www.vsl.ist.ucf.edu/~marrou
"Reap the whirlwind." "We don't need no thought control."
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:59 PDT