Kamen Kanev (kamen++at++vsl.co.jp)
Fri, 7 Jun 1996 15:48:01 +0900
/* Draw a message justified wrt to x,y in font of size 'size'.
* 'just' may be CENTER, LEFT, RIGHT. x, y should range from 0 to 1
* and 'size' should be SMALL, MED, or BIG.
* The colors of the message are fixed: purple text with black shadow.
* This is ageneral and expensive routine and is meant to be used for
* fairly static messages that only need updating upon a REDRAW event.
* For messages that need to be
* updated frequently, a more streamlined routine should be used.
*/
void
pfuDrawMessage(pfChannel *chan, const char *msg,
int rel, int just, float x, float y, int size, int cimode)
When I use it (messages change each frame) I get considerable flicking.
How can I avoid it or is there any other convenient way to write messages?
Many thanks in advance!
Kamen Kanev
-- __________________________________Kamen Kanev, PhD Senior Researcher
Visual Science Laboratory Awajicho MH Building 2-21 Kanda Awajicho Chiyoda-ku, Tokyo 101 JAPAN
Phone: +81-3-5256-7662 FAX: +81-3-5256-1070
e-mail:kamen++at++vsl.co.jp __________________________________ ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:59 PDT