Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Starman01 on May 18, 2004, 03:16:02 pm

Title: Transparent planets ?
Post by: Starman01 on May 18, 2004, 03:16:02 pm
It's me again  :)

I really hope I'm not going on your nerves, but I encountered
another strange thing. I am now using the 260404 build, and
my end-mission-CTD is solved thanks to you.

But now I encountered a strange phenomena, which lets the star-background
shining through the planets (in tga-mode). See here the pic for
the reference, it is quite visible on the planets dark-side, but it
also occurs on the light side. Is this a known bug to you ? However,
I think I'm in desperate need of another reinstall of freespace, but I
don't think that will solve this problem. (btw, I'm using a GF4, TI 4200 card)
(http://www.starman.ag5.de/pics/fehler3.jpg)
Title: Transparent planets ?
Post by: CP5670 on May 18, 2004, 03:54:42 pm
It looks like you're using a custom planet there; its entry in stars.tbl needs to be listed as a BitmapX rather than a Bitmap to remove the transparency.
Title: Transparent planets ?
Post by: Lightspeed on May 18, 2004, 05:13:36 pm
Yes, and if you want the planet to NOT have a black box around it then, you'll need to set up an alpha channel.
Title: Transparent planets ?
Post by: IceFire on May 18, 2004, 05:29:24 pm
Hey how do you set Alpha channels in Photoshop.  Any good guides...the help section seems useless.  Maybe I should look in the manual yesno? :D
Title: Transparent planets ?
Post by: Flipside on May 18, 2004, 05:44:09 pm
On your layers box, you have a tab marked 'Channels', click on that and it will open your main colour channels (RGB). You can now add a channel in much the same way as you add a layer.

However, if you are wanting to do a transparent box such as this, you just use transparency as normal, and save it as a 32Bit TGA iirc :)
Title: Transparent planets ?
Post by: CP5670 on May 18, 2004, 05:45:25 pm
What about the pure green? Does that not work with tga images?
Title: Transparent planets ?
Post by: Lightspeed on May 18, 2004, 05:49:17 pm
no, and it never quite worked for planets at all, since once you wanted to do an atmosphere (as in starmans image) you were screwed anyway :)
Title: Transparent planets ?
Post by: Tolwyn on May 23, 2004, 06:06:12 am
the planets were rendered in 3dsmax and they HAVE alpha channel stored it 'em
Title: Transparent planets ?
Post by: Starman01 on May 23, 2004, 07:01:29 am
@Tolwyn : Have you the same error, or is this related to just my PC again ?
Title: Transparent planets ?
Post by: Tolwyn on May 23, 2004, 08:32:42 am
I will have to test it ... could you send the newest version of the 4th mission to me?
Title: Transparent planets ?
Post by: Tolwyn on May 23, 2004, 10:44:32 am
nope, I do not have this problem