Re: HUD

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 01/11/2000 15:27:24


Please, call me Angus :-)

Anthony Bavuso wrote:
>
> I am beginning to implement a HUD and I have a few questions. As far as I
> know there are two ways to draw a HUD, first method is openGL calls in the
> draw call back functions; second method is to use an overlay channel as
> Dorbie did the aqua witches brew example.
>
> Can I use Dorbie's aqua overlay channel method, in a
> multi-pipe/mutli-channel configuration where, in hardware, different
> channels and pipes are wired to different displays? Referring to my previous
> email on perfly channel ordering, could I use an overlay channel with that
> kind of hardware setup?

Yes this should work.

I think your use of the word 'overlay' may confuse readers. My example
does not use overlay planes as I'm sure you understand, it simply
overlaps one channel on another. You'd need a channel for each pipe you
required a HUD on.

>
> Also are there any full feature examples like aqua that use the openGL HUD
> method? Where can I find it?

Perfly draws the performer text on overlay planes in a draw callback you
don't need to use overlay planes to implement the orthographic overlay
rendering. Also see the archives for sample code that I and others have
posted over the years to info-performer. Since you say full featured I
presume drawing a string in the corner doesn't uite cut it.

Cheers,Angus.

-- 
"Success is the ability to go from one failure to another with
 no loss of enthusiasm."    -    Winston Churchill.

Performer + OpenGL examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jan 11 2000 - 15:27:35 PST

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