Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

12046 Posts in 1593 Topics- by 595 Members - Latest Member: KeelmHaxabefe

22. May 2013, 03:15:22 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Screen Door Question (Transparency)
Pages: [1]
Print
Author Topic: Screen Door Question (Transparency)  (Read 458 times)
stemcd
Just dropped in

Offline Offline

Posts: 3


View Profile
« on: 29. August 2011, 06:38:40 pm »

Hi,

Does anyone have an example of using the BlendMode.SCREEN_DOOR setting as a transparency attribute?  I have tried a number of different permutations but can't seem to get it working, my shape is always rendered 100% opaque. 

I am using RGBA colours for the shapes vertices, with a range of different alpha values and I have tried setting the TransparencyAttribute's transparency value to various values to; all to no avail.

I am relatively new to xith3d and very new to these forums so I apologise if this is a stupid question.  Please ask if I need to provide more information.

Many thanks in advance

Steve
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #1 on: 30. August 2011, 08:38:40 am »

Sorry, I can't help you here. The SCREEN_DOOR implementation is not my work. Do the other Transparency Attributes work for you?
Logged
stemcd
Just dropped in

Offline Offline

Posts: 3


View Profile
« Reply #2 on: 31. August 2011, 09:06:42 am »

Thanks for the reply.  The other Transparency Attributes all seem to work fine but dont suffice for what I need (see below).  I'll keep trying, maybe I need to read more about how it works in opengl and then backtrack through the code.

I have a series of Quad Array shapes and want sections of their texture to appear 100% transparent, like holes have been cut in it.  In blended mode, whilst it works, I get an xray effect where I can see straight through other sections of the same shape, which I believe there is no work around for.  However, I think screen door mode should allow this as the transparency is done in the opaque phase and I am happy to sacrifice some quality to achieve this. 
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic