Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Future of the fort, tileset request  (Read 1184 times)

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Future of the fort, tileset request
« on: December 20, 2008, 01:54:49 pm »

See http://www.bay12games.com/forum/index.php?topic=28841.0

For the future of the fort, I need someone to make a tileset with PNG alpha translucency, so I can test tilesets with PNG alpha translucency. It would be very helpful. :)
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Future of the fort, tileset request
« Reply #1 on: December 20, 2008, 02:05:41 pm »

What's the alpha channel going to be used for?

e: this should be really easy if you just mean replacing the magenta background with transparency.  Like ten seconds easy.  I can do that, but I'm not sure it's what you want.

e2:

it did something strange to the beards, oh well.
« Last Edit: December 20, 2008, 02:16:16 pm by Footkerchief »
Logged

Sinergistic

  • Bay Watcher
    • View Profile
Re: Future of the fort, tileset request
« Reply #2 on: December 20, 2008, 02:34:22 pm »

GREEN BEARDS?

What did they do, vomit all over them? man, that will NEVER come out!
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Future of the fort, tileset request
« Reply #3 on: December 20, 2008, 02:35:15 pm »

That's transparency. And I'll check it too, but I was hoping for translucency. ;)

Umh. Basically, if you have a pixel in a tile that's (say) 30% translucent, you'll get a 30% mix of the background color, and 70% whatever would be the foreground color if it were fully opaque. I'm sure you can think of something that'll be handy for, but it's basically in because it'd be harder not to put it in. :P
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Future of the fort, tileset request
« Reply #4 on: December 20, 2008, 02:45:42 pm »

That's transparency. And I'll check it too, but I was hoping for translucency. ;)

Umh. Basically, if you have a pixel in a tile that's (say) 30% translucent, you'll get a 30% mix of the background color, and 70% whatever would be the foreground color if it were fully opaque. I'm sure you can think of something that'll be handy for, but it's basically in because it'd be harder not to put it in. :P

Okay.  Where will the background color come from?  Doesn't DF already put the background color in the tile before sending it to the renderer or whatever?
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Future of the fort, tileset request
« Reply #5 on: December 20, 2008, 03:47:10 pm »

No, DF renders background colors and tiles separately. It does *not* alter the tile every time, which would've been an *utter* disaster.

So, it's just blending with what's already on the screen.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Future of the fort, tileset request
« Reply #6 on: December 20, 2008, 03:58:52 pm »

Oh okay, I can see how this might be useful at some point.  At present, though... I don't know, maybe you could turn the soft edges on Herrbdog's 16x16 into a transparency gradient?  That could make the foreground blend smoothly into the background, which would be interesting.
« Last Edit: December 20, 2008, 04:01:04 pm by Footkerchief »
Logged

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: Future of the fort, tileset request
« Reply #7 on: December 20, 2008, 09:22:47 pm »

*deleted*
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?