Re: [info-performer] overlay in performer channel

Date view Thread view Subject view Author view

From: Paolo Farinelli (paolo++at++sgi.com)
Date: 11/04/2003 18:14:26


Michael Weyel wrote:

>Hi everyone.
>
>I'm trying to draw a simple glTriangle as an overlay into a
>Performer-Channel, doing this in the DrawChannel-callback after having
>called pfDraw(). It works fine on Windows, while on Linux, I don't see
>anything of my triangle.
>Could that be some kind of display-driver/openGL-version problem (both
>machines have NVidia graphic cards)?
>
Hi Michael,

Just as a simple test, you can try running the logo.pfv sample file
using pfview:
pfview /usr/share/Performer/config/logo.pfv

This simply renders a couple of textured quads in overlay, as you describe.
If this doesn't work on your system, it is likely to be a problem with your
system's configuration. [in that case please send us details on OS version,
NVIDIA card model and driver version]

If it does work, it could mean that you are not making all the necessary
gl (or pf) calls when setting up ortho projection and graphic state for your
overlay rendering.. [in that case, you can send me the code you execute in
your channel's draw callback, and I can have a quick look at it]

>Besides I'm having problems generating mipmap textures using
>gluBuild2DMipmaps() on Linux. The app segfaults whenever this function
>is called. Again, everything is fine if I try it on Windows. I found a
>posting on Info-Performer from May 2002 describing a similar problem but
>with no real solution.
>http://oss.sgi.com/projects/performer/mail/info-performer/perf-02-05/000
>8.html
>
>Any sugestions?
>
>
Are you seeing exactly the same problem? Do you get this problem ALL the
time, or just occasionally? Do you get this with some specific textures, or
with any texture? Can you send us the output of your application?

Regards,
Paolo

>Michael Weyel
>
>Max-Planck-Institute for
>biological cybernetics
>
>Dept. Bülthoff
>
>Spemannstraße 38
>72076 Tübingen, Germany
>Phone: (+49 7071) 601-621
>
>

-- 
Paolo Farinelli                                           paolo++at++sgi.com
Member of Technical Staff, OpenGL Performer              1-650-933-1808
Silicon Graphics        1600 Amphitheatre Pkwy, Mountain View, CA 94043


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Nov 04 2003 - 18:15:26 PST