Re: How to draw 3D object inside the HUD?

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Thu, 30 Oct 1997 15:54:28 +0100 (MET)


>
> Hello,
>
> I am working on a flight simulator and using OpenGL to draw head-up
> display during the draw callback. I need to show 3D symbology on the HUD. These
> 3D symbology is a imagine 3D object in the space if you see through the HUD. Do
> you have any suggestion how to draw this 3D object on the HUD?
>
> I am thinking of creating the real "imagine" 3D object in my simulation
> environment and let this object show up only inside the HUD area. How can I
> show this object only inside the HUD area?

You can define an extra channel that covers the HUD. Attach it to a
scene where the 3D geometry is attached to. In the draw callback of
this channel don't call pfClear(). After the call to pfDraw() you can
add the code for the rest of the HUD.

Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            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:56:09 PDT

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