Re: Changing number of Channels

New Message Reply Date view Thread view Subject view Author view

Lance R. Marrou (marrou++at++vsl.ist.ucf.edu)
Wed, 22 Feb 1995 09:32:14 -0500 (EST)


On Wed, 22 Feb 1995, deepa wrote:

...
> 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."


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:50:59 PDT

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