Re: pfProject Texture and transparent textures

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 05/24/2000 13:10:37


You can't project texture onto a transparent texture and expect it to
remain transparent.

The projected texture pass will draw the transparent object with the
projected texture on it and if the projected texture has alpha ==1 then
you will see the object as opaque. At the very best you are going to see
some sort of problems due to transparency. Performer tries to work
around some of these issues using stencil operations or depth equal
tests but there is no perfect solution without something like hardware
multitexture.

CHeers,Angus.

devrim wrote:
>
> Hi,
>
> I have been using performer projected textures within my application (
> based on the sample in the man page ) . We also have transparent
> textured billboards which are used for lens flare and static shadows. At
> some point project texture is enabled and then at some point again it is
> disabled. I have noticed that when I use projected textures transparent
> textures look as if alpha bits are set to 1. When I don't enable
> projected textures, it is just fine, we have nice transparency. It looks
> like the color bit count has also decreased.
>
> Any ideas ?
>
> /*===============================================
> M. Devrim Erdem devrim++at++infotron.com.tr
> Simulation Software Development
> info(+)TRON, Turkey
> Tel: +90 216 4921002, Ext 138
> Fax: +90 216 3432132
> http://www.infotron-tr.com
> http://abone.turk.net/mderdem
> ===============================================*/
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed May 24 2000 - 13:10:46 PDT

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