Re: Mixing IrisGL code and Performer 2.1 ??

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (allan)
Sat, 18 Oct 1997 16:21:12 -0700


On Oct 17, 11:05am, dcibiceli++at++etcusa.com wrote:
> I am trying to insert a HUD code written in IRISGL and performer
> perfly code in 2.1 release. I call the HUD code (Heads Up Display) in
> localpostDraw. I first initiliaze the performer to its basic state and
> call the HUD. I donot have libraries like pf??_igl and all I have is
> pf??_ogl so I use them.
> The program seems to compile with a few warnings but when it
> comes to executing it coredumps at the first point when an IRISGL call
> is made. What am I missing. If those IrisGL functions are not there,
> why isn't the compiler warning me about it ?
> Do I have to do some extra stuff so that it does not core dump.

OpenGL and IRIS GL cannot both be used at the same time by the same
application. This is why it dumps core.

Since 2.1 uses OpenGL exclusively and your HUD code is IRIS GL, you
must either port your HUD code to OpenGL or downgrade to an IRIS GL
compatible version of Performer (ie, 2.0.x).

With that choice in mind, I'd strongly discourage writing any new
applications using IRIS GL. All of SGI's current systems (Impact,
Octane, O2, InfiniteReality) are OpenGL-based, and only emulate IRIS
GL via a software layer that can be pretty slow. You'll be much
better off with OpenGL.

Allan

-- 
Allan Schaffer                                                allan++at++sgi.com
Silicon Graphics                               http://reality.sgi.com/allan
=======================================================================
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:05 PDT

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