From: Simon C Mills (simon++at++wgs.estec.esa.nl)
Date: 02/12/2002 07:12:58
Hi Performers,
I've been trying to display and image (logo plus text, reading in GIF
format using the IFL library) in the overlay window of a main pfWindow.
It's nearly working but often it's not. It looks like the colormap is
getting changed at some point since the colors go wierd. I notice the
same kind of behaviour with the standard perfly demo and the "Performer"
text in the top-right. If the window is moved, the text changes colors
and disappears. It seems to be to do with how X and Performer interact.
I'd really like to avoid getting to deep into the X stuff.
What I'm doing now is setting up the colormap with pfuMapWinColors like
in perfly then doing a glDrawPixels with argements GL_COLOR_INDEX and
GL_UNSIGNED_BYTE.
Are the any examples or hints on how to do this? I remember an SGI demo
showing the view from a ship's bridge where the front of the ship was
static and drawn into the overlay. This is the kind of thing I'm trying
to do.
Regards, Simon
_______________________________________________________________________
Simon Mills
Modelling & Simulation Section (TOS-EMM) Tel: +31 (0)71 565 3725
European Space Agency (ESA/ESTEC) Fax: +31 (0)71 565 5420
Postbus 299, 2200AG Noordwijk e-mail: Simon.Mills++at++esa.int
The Netherlands http://www.estec.esa.nl/wmwww/EMM
_______________________________________________________________________
This archive was generated by hypermail 2b29 : Tue Feb 12 2002 - 07:10:39 PST