Two-pass drawing

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++evt.com)
Tue, 27 Oct 1998 13:32:10 -0700


I'm trying to learn how to do two-pass drawing in performer.
Does the following seem reasonable or are there better ways?

my_draw() {

  preDrawStuff();

  pfDraw();

  intermediateDrawStuff();

  pfDraw();

  postDrawStuff();

}

Then register my_draw with the pfChannel using

channel->setTravFunc(PFTRAV_DRAW, my_draw);

Thank you,

Scott Herod
scott++at++evt.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 27 1998 - 12:32:17 PST

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