nebula black background remove

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
Verz Veraldi
Posts: 55
Joined: 16.09.2010
With us: 14 years 2 months
Location: In front of my computer

nebula black background remove

Post #1by Verz Veraldi » 19.09.2010, 07:14

Hey,
I've saw a lot of nebula addon with their textures without the black sky background... Does anybody know how to do that?
Finally figured out how to add signature...
Core 2 Duo E7500 2.93 GHz, 4GB RAM, Nvidia GeForce 9600GT 1GB DDR3 Mem, Windows 7 32bit...

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: nebula black background remove

Post #2by selden » 19.09.2010, 20:48

Celestia can use 24bit or 32bit PNG image files: each pixel has 8bits each of red, green, blue plus an optional 8 bits of opacity. JPEG images have only the three color channels.

What one does is create a "mask" from the original picture (probably jpeg), with black where it should be transparent and white where it should be opaque. One then converts the original image into a 4 channel PNG image which includes that mask. The resulting picture or the model that it's applied to will be partially transparent when drawn by Celestia.

Describing exactly how one creates such a mask would take more time than I have right now. There are a variety of methods, some automated and some manual, some scripted and some using paint programs.
Selden

Topic author
Verz Veraldi
Posts: 55
Joined: 16.09.2010
With us: 14 years 2 months
Location: In front of my computer

Re: nebula black background remove

Post #3by Verz Veraldi » 20.09.2010, 09:11

oh, then if you're busy perhaps you can show me some tutorials created by others? I do understand what you mean by the 4 color channel. red green blue and alpha right? maybe i'll do something with photoshop.. thanks anyway.. :D
Finally figured out how to add signature...
Core 2 Duo E7500 2.93 GHz, 4GB RAM, Nvidia GeForce 9600GT 1GB DDR3 Mem, Windows 7 32bit...

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: nebula black background remove

Post #4by selden » 20.09.2010, 11:14

If you use google to do a Web search with the keywords
create alpha channel mask
the first few results are tutorials for Photoshop.
Selden


Return to “Help Central”