Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / I'm having problems using transparent .png

Author
Message
Wolf Dreamer
19
Years of Service
User Offline
Joined: 13th Sep 2005
Location: the land of chaotic dreams
Posted: 12th Aug 2006 18:30
Tried many things, and searched about, but alas, I'm missing something here.

I want to load a .png which I know has a transparent background, or more specfically no background at all. I load it up in paint.net or Microsoft Photo Editor, and I see nothing at all behind the image.

When I load it into DBP I end up with a solid black background appearing. How do I stop that from happening?

The last sane human being in a world gone mad.
If you were a cockroach, what type of cockroach would you be?
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 12th Aug 2006 20:14
You set the dependent media transparency to On.

For example, if you texture an object with the transparent PNG,

Quote: "Set Object Transparency obj, 1"


and then it will work.


Come see the WIP!
NeX the Fairly Fast Ferret
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 14th Aug 2006 22:30
Don't you have to use 2 or 4 for a PNG?


Since the other one was scaring you guys so much...
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 14th Aug 2006 22:34
No


Wolf Dreamer
19
Years of Service
User Offline
Joined: 13th Sep 2005
Location: the land of chaotic dreams
Posted: 14th Aug 2006 23:33
It works fine. Not sure why I was having problems.

Thanks for the help.

The last sane human being in a world gone mad.
If you were a cockroach, what type of cockroach would you be?
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 15th Aug 2006 18:37
Quote: "Don't you have to use 2 or 4 for a PNG?"

2 and 4 are just different blending modes. I use pretty much all of them for different things. If an object needs to be transparent against itself, 1 is fine. If you need to see other objects through the object, then other blend modes are necessary. I commonly use all of them except for 3, it never seems to do what I want it to.


Come see the WIP!

Login to post a reply

Server time is: 2024-11-26 14:17:59
Your offset time is: 2024-11-26 14:17:59