RE: How to use OpenGL display list in Pe

New Message Reply Date view Thread view Subject view Author view

Jeff Brickley (jbrickley++at++lmwsmr.lesc.lockheed.com)
Tue, 27 May 1997 08:49:32 -0700


> From: Byungsung Cho
> Performer manual says that OpenGL display lists can be used in
> Peroformer applications.
> But I cannot find any example or a section describing how to use the
> display lists.
> Can somebody show or give pointer to example codes?
> I have an OpenGL program to make a display list and would rather not
> rewrite
> in Performer.

 ----------
  OpenGL display lists (and any openGL command) can be used AS-IS in
Performer, no special coding is required. However (yup, there's got to be a
catch), timing is important (i.e. WHEN the commands are actually issued).
 The post-draw and pre-draw tasks are the best places for OpenGL, it may be
possible to issue them at other times, but I've never been able to get it to
work right. In addition, if you have the draw task on different CPU than
the Application task, you CANNOT compile the drawlist on the application
task and then issue it on the draw (trust me, I tried <grin>).... We
successfully use many OpenGL commands during post-draw to do model
annotations and other things....

Jeffry J. Brickley
3D Systems Programmer
Lockheed Martin
White Sands Missile Range, NM

=======================================================================
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:55:18 PDT

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