Re: [info-performer] Re: -12- How do I overlay graphics on top of my Performer scene

Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 07/08/2003 13:26:20


Each of the 5 channels will have its own draw callback. Make sure your
HUD post draw routine is listed in all 5 channel's draw callback.

pfChannel *chan[5];

int i = 0;
for(i = 0; i < 5; i++) {
    chan[i] = new pfChannel(pipe[i]);
    chan[i]->setTravFunc(PFTRAV_DRAW, HUDPostDraw)
}

Brian

Régis Poulin wrote:
> Hi, I am developping an application with 5 channels. I want to draw a
> hud that will by displayed on top of ALL 5 channels. For the moment I
> can draw on top of only one channel using the postdraw callback. The
> thing is that I want to display a menu that will be on top of everything
>
> Thank you very mush
>
> Regis
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------

-- 
     ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612 Graphics Guru Office:(301)814.6858 Fax: (253)323-8182 12200-G Plum Orchard Drive OpenGL/OpenGL Performer/Commodity Graphics Silver Spring, Maryland 20904 Solutions and Integration Services


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jul 08 2003 - 13:29:40 PDT