Author Topic: Semi-transparent BMP fades(!!)  (Read 2204 times)

0 Members and 1 Guest are viewing this topic.

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Semi-transparent BMP fades(!!)
« on: December 30, 2009, 10:03:05 pm »
I'm really surprised no one has thought of that before (or even if they did - I've never seen anyone use this trick in their maps) but there actually is a great and easy way to make smooth semi-transparent fades with BMP sceneries instead of PNGs.

The key is having a bmp scenery so small that when you stretch it - it becomes blurry. I used them in many of my remakes and they work great so far. I've attached a scenery pack to this post.
Consider this as a New Year present from me. <3



As an example, here's a BMP-only version of inf_SunRise before I used BMP fades:


And after:


-----------
Known issues:
  • It's doesn't fade as color-transparency. It fades as color-SemiTransparentBlack-transparency. So you'll get a little bit of a dark shadow around the scenery, but it's barely noticeable and sometimes actually looks better this way.
  • If stretched too much - it looks a bit pixelated for some people. I'm not sure what exactly causes it (looks perfectly fine for me) and if it occurs with PNG sceneries too. Here's a screenie VirtualTT showed me: http://img121.imageshack.us/img121/2605/20091223235325.png
    Just avoid stretching those sceneries to ridiculous sizes




Offline Wraithlike

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1349
  • The Ichthyologist
Re: Semi-transparent BMP fades(!!)
« Reply #1 on: December 31, 2009, 02:24:55 am »
Please post a few sample pics of the sceneries themselves, it's difficult to see what you did within the map.

Offline Blacksheepboy

  • Veteran
  • *****
  • Posts: 1817
Re: Semi-transparent BMP fades(!!)
« Reply #2 on: December 31, 2009, 02:50:44 am »
Yes, please do.

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Re: Semi-transparent BMP fades(!!)
« Reply #3 on: December 31, 2009, 11:12:28 am »
You won't see much since the sceneries are small (I'm talking about 3x3 pixels or so small), but if you still want to see them - here are a few:

Offline ~Niko~

  • Rainbow Warrior
  • *****
  • Posts: 2410
Re: Semi-transparent BMP fades(!!)
« Reply #4 on: December 31, 2009, 01:13:14 pm »
I used this on my maps, though none of these who used this kind of scenery was ever released so noone has noticed of its usefulness until now I guess.

Offline Blacksheepboy

  • Veteran
  • *****
  • Posts: 1817
Re: Semi-transparent BMP fades(!!)
« Reply #5 on: December 31, 2009, 03:03:29 pm »
Here is a better example ::)
Made these three in under a minute..