Re: textured polygon in HUD overlay

New Message Reply Date view Thread view Subject view Author view

Veraart (rioj7++at++fel.tno.nl)
Mon, 1 Jul 1996 11:44:45 +0200 (MET DST)


>
> I would like to display a color key in a HUD overlay plane. The color key is a
> geoset containing a simple textured polygon. I would like to overlay this 2-D
> color key over a pseudo-colored 3-D surface so that key remains fixed as the
> user flies over the surface.
>
> My question is what is the best way to display 2-D textured polygons in a HUD
> overlay?

Just use IrisGL or OpenGL calls to draw a textured rectangle in your
routine that draws the HUD.
You draw the HUD in a 2D view projection mode in a post draw callback.
To select the texture use the pfTexture load function call.

Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ <--new!
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:53:07 PDT

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