Re: Help,how can i make it be transparent!

New Message Reply Date view Thread view Subject view Author view

Jeffrey O. Johnson (jeffj++at++trac.wsmr.army.mil)
Mon, 22 Mar 1999 13:07:39 -0700


Forwarded message:
> zhoutian wrote:
> >
> > Hi,thank you for looking at my question.
> > These days I use Performer on O2 to do some work of virtual reality.
> >
> > And I want to make some faces be transparent, but I don't know how to
> > do it. I find a function pfTexFormat(pfTexture *tex,int format,int
> > type).I try to use pfTexFormat(tex,PFTEX_INTERNAL_FORMAT,PFTEX_RGBA_8),
> > but no use. And GIF images can be transparent, can I load it directly
> > and it will be transparent?
> You can make the polygon that the texture is mapped to transparent by
> setting the PFSTATE_TRANSPARENCY mode of the pfGeoState to on. And also
> set the PFSTATE_ALPHAREF value of the pfGeoState.
> If you want transparent parts of the texture you have to make an rgba
> texture in a file or in memory.

Are there recommendations for apps (SGI or PC-based) which can modify rgba
textures to include transparent portions?

Thanks much for any info.

Jeff

-- 
JEFFREY O. JOHNSON
Operations Research Analyst
U.S. Army TRADOC Analysis Center
White Sands Missile Range, NM  88002
Phone: COMM (505) 678-2393  DSN 258-2393
Soldier Station Homepage: http://www.trac.nps.navy.mil/soldierstation
Personal homepage: http://www.greatwhite.com/~jeffj

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Mar 22 1999 - 12:07:56 PST

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