Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Don't treat alpha channel as transparency?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Feature Requests
View previous topic :: View next topic  
Author Message
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Mon May 21, 2007 2:13 am    Post subject: Don't treat alpha channel as transparency? Reply with quote

I have a number of textures where the alpha channel is either bump displacement, or a gloss map. When I use these in DeleD, they all turn up as transparent. I really can't use DeleD with these textures until a checkbox shows up per material (or texture), allowing me to mark that texture as not transparent.

So, here's my feature request: Allow textures with alpha to create materials that aren't transparent.
Back to top
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Mon May 21, 2007 5:58 am    Post subject: Reply with quote

Moved to Feature Request forum. Smile PJ will pick up on this one, I'm sure!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Wed May 23, 2007 12:02 pm    Post subject: Reply with quote

Unless there is a bug I don't know about, this behaviour (i.e. "not threating the alpha channel as transparency") is the default unless you explicitly set the blendmode to alphablend. If you leave it at "replace" for those textures, things should work the way you want them to?

Could you confirm that is what you were looking for? Or should I be moving this post to the bug forum?
Back to top
View user's profile Send private message Visit poster's website
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Wed May 23, 2007 12:28 pm    Post subject: Reply with quote

Texture files with alpha channels also show up transparent in the material editor directory listing. When you create a texture object / material out of it, you have to set it to alpha to make it transparent.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Wed May 23, 2007 9:48 pm    Post subject: Reply with quote

Yes, I noticed that it actually works the way I want it in the modeler, but not in the material editor/preview. So this is a feature request (or bug?) only regarding the material editor.
Back to top
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Thu May 24, 2007 2:16 am    Post subject: Reply with quote

jwatte wrote:
Yes, I noticed that it actually works the way I want it in the modeler, but not in the material editor/preview. So this is a feature request (or bug?) only regarding the material editor.
It's probably a good way just to show in the folder dump that an alpha channel DOES exist in that file.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Thu May 24, 2007 5:15 am    Post subject: Reply with quote

The problem is that when your texture has mostly black alpha, you don't actually see the texture. When you have lots of textures with similar names, it gets tricky to pick the right one.
Back to top
View user's profile Send private message
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Thu May 24, 2007 11:50 am    Post subject: Reply with quote

I understand what you mean now. This would be a problem
(a) in the texture preview of the 3 separate layers
(b) in the texture folder view

What we could do is have a little switch somewhere in the ME interface that toggles alpha preview in the folder view, solving (b).

I'm not too sure yet if the switch should toggle alpha preview in all of the material editor at once, or if (a) should be handled separately. An alternative option for (a) would be to only show the alpha channel if the mode is already set to alphablend.

And for convenience we could make alphablend the default for a newly created material layer if the switch for (b) is set to on and the texture does indeed have an alpha channel.

Something like that, or am I missing some details?
Back to top
View user's profile Send private message Visit poster's website
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Thu May 24, 2007 5:39 pm    Post subject: Reply with quote

jwatte wrote:
The problem is that when your texture has mostly black alpha, you don't actually see the texture. When you have lots of textures with similar names, it gets tricky to pick the right one.
Do you use flat display, or the mapped globe display?
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Thu May 24, 2007 9:48 pm    Post subject: Reply with quote

I use flat display.

Yes, such a switch would help.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum