Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: ShivanEmperor on June 21, 2011, 05:56:46 am

Title: Freespace 2 Mediavps Alpha Textures
Post by: ShivanEmperor on June 21, 2011, 05:56:46 am
After converting the DDS effects textures from the latest version of Mediavps, I discovered that certain textures, such as sun, shockwave, warp, shield, and weapons textures, did not have any transparency around them as I had expected, instead being replaced with pure black.

Does anyone happen to know how or where I can get all of these textures with the appropriate alpha effects around them rather than simple black? I could use Paintshop to make all the black parts transparent myself, but that would take forever.

Whatever information you can provide to me on this subject would be greatly appreciated. Thank you.
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: Dragon on June 21, 2011, 06:49:50 am
Just use a function "replace color with Alpha" (at least, in GIMP there's such function) and choose black.
That's about how FS does this (well, not really, but the effect is very similar).
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: The E on June 21, 2011, 06:59:59 am
Note that these effects have no alpha channel on purpose, as they are additively blended into a scene.
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: ShivanEmperor on June 21, 2011, 08:33:41 am
Thank you for the replies. I have been considering them.

However, please be advised that the best paint program I am currently using is Corel Paint Shop Pro.
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: General Battuta on June 21, 2011, 09:22:07 am
GIMP is free!
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: Rodo on June 21, 2011, 09:47:50 am
GIMP is good, I use it.

Granted, you don't get to see so much of my work around here but I can say it's a trusty and handy tool, and as bat said it's free.
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: Jadehawk on June 21, 2011, 02:15:26 pm
I have used Paint Shop Pro 9, X, X2, and X3 and this is all I use and there is a way to replace Black with Alpha channel but it's been awhile since  did the procedure. Once I get home, I'll do some testing and will try to see if I remember how I did it. If I do, I'll post here. However, I did find the proper procedure online long ago so try typing in Google:  MAKING PAINT SHOP PRO ALPHA CHANNELS. There are two I remember of, but one was more extensive and worked good.
Hope this helps!
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: ShivanEmperor on June 25, 2011, 03:59:07 am
Greetings, and thank you all for the replies. Apologies for providing a late reply of my own. I have been quite occupied recently.

Nevertheless, I have been considering your suggestions, and they seem to be most adequate. Thank you for all your suggestions and all your usefull help.
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: jr2 on June 25, 2011, 02:56:46 pm
Paint.NET (http://www.getpaint.net) any good?
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: The E on June 25, 2011, 03:04:13 pm
Paint.net is very good indeed. It has one of the best DDS support I have seen in an image manipulator.
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: Woolie Wool on July 03, 2011, 06:15:06 pm
After converting the DDS effects textures from the latest version of Mediavps, I discovered that certain textures, such as sun, shockwave, warp, shield, and weapons textures, did not have any transparency around them as I had expected, instead being replaced with pure black.

Does anyone happen to know how or where I can get all of these textures with the appropriate alpha effects around them rather than simple black? I could use Paintshop to make all the black parts transparent myself, but that would take forever.

Whatever information you can provide to me on this subject would be greatly appreciated. Thank you.

Don't do it! They are not supposed to have any alpha channel, FreeSpace blends them additively. FreeSpace's alpha handling for effects is ugly as sin and causes dark borders around the effect when it appears over a light background such as a nebula or an illuminated ship. They don't need an alpha channel and shouldn't have one.
Title: Re: Freespace 2 Mediavps Alpha Textures
Post by: PL_Harpoon on July 07, 2011, 04:37:38 am
For DDS with alpha, I make a .png file and then convert them using DDS Converter 2.