Rob Jenkins (robj++at++quid)
Thu, 17 Jul 1997 09:18:21 -0700
A really good tool for seeing what visual an app is actaully using is xwininfo,
use the -tree option to get the whole window list ( quite a few in most
performer apps ) then the -id option to work out which is the main rendering
window. I'm pretty sure xwininfo was around on 5.3
Cheers
Rob
On Jul 17, 1:11pm, Joaquin Casillas Melendez wrote:
> Subject: Re: transparent textures
> On Wed, 16 Jul 1997, Anita Kishore wrote:
>
> > Hello:
> >
> > I am trying to map an image of a neon sign (created in Photoshop)
> > with alpha onto a geometry. The image has the sign in the middle with neon
> > like light emanating from it which slowly merges with the blackness around
> > the sign. This image with its geometry is in an Inventor file which gets
> > loaded into my application through pfiv (BTW : the version of pfiv that I
have
> > didn't have transparency enabled, so I added the lines :
> >
> > if ( numComponents == 4 )
> > {
> > cbd->dummyGState->setMode(PFSTATE_TRANSPARENCY, PFTR_ON);
> 5q> }
> >
> > in the routine 'getTexture').
> >
> > Anyway, the problem is that when this texture gets loaded, the neon light
> > around the sign appears completely banded with each band having a single
> > level of colour. The change in colour from the neon light colour to black
> > (completely transparent) is not smooth at all. What else should I set to
make
> > it smooth?
> >
> > I have already tried recreating a fresh image of very large size and
mapping
> > that, but to no avail.
> >
> > I am using OpenGL, RE2, 5.3, pf 2.0.1. I do not have glxinfo to find out
the
> > visual that pf window might actually be using. Doesn't RE2 come with
> > glxinfo? Is it possible to install it from somewhere?
> >
> > Thanks for any help.
> >
> > -anita
> >
> > kishore++at++triavest.com
> >
> > --
> > Anita Kishore
> > =======================================================================
> > List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> >
>
> Hello Anita.
>
> Try changing the transparency mode to PFTR_HIGH_QUALITY in order to get a
> smoother change in the neon light colour. I also work with a Onyx RE2 and
> had the same problem with transparency.
>
> Respect to the glxinfo command, it is located in /usr/sbin/glxinfo
> (almost, in the RE2 I used to work).
>
> Hope this helps.
>
>
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/ Joaquin Casillas | email: jcasilla++at++glup.eleinf.uv.es
_/
> _/ ARTEC (LISITT) |
_/
> _/ Dept. Electr. & Informat. | Phone: +34 6 360 4484 Fax: +34 6 361 6198
_/
> _/ University of Valencia | Address: Hugo de Moncada 4. 46010
Val.(SPAIN)_/
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Joaquin Casillas Melendez
--
________________________________________________________________
Rob Jenkins mailto:robj++at++csd.sgi.com
Silicon Graphics, Mtn View, California, USA
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:37 PDT