Back to the age old question

The place to discuss creating, porting and modifying Celestia's source code.
Miserableman
Posts: 65
Joined: 03.04.2002
With us: 22 years 10 months
Location: Brighton, England
Contact:

Post #21by Miserableman » 21.06.2002, 01:32

I am having allsorts of problems with this as well.

Whenever I tried to do this in Photoshop, it just went badly wrong, with Photoshop often refusing to open the file I had just written with it.

I tried it in Paint Shop Pro, and it successfully created the alpha channel, but the tga file intepreted my alpha channel as a transparency, and the final texture had specular reflections on the oceans but no textures on the lands at all!

I currently have the GIMP open, trying to follow Fridgers instructions, but after the image is recombined it looks like the same will happen -> the land is transparent. Anyone able to help? Is it possible to save with my tga file that, no, this alpha channel is not a transparency map but used for specular reflections instead?

My alpha channel bitmap is only two colours - white for water, black for land. Is this correct?

Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 23 years
Location: Altair

Post #22by Rassilon » 21.06.2002, 02:36

My alpha channel bitmap is only two colours - white for water, black for land. Is this correct?


Yes! But if you really want to get in detail...you can diffuse colors to get the reflections to blend...so spec maps don't necissarily have to be 2 colors alone...just greyscale...

Also alpha 0 will never show in windows...Alpha 0 is the black portion of the alpha channel you set in gimp...It is non reflective as it 'swallows' the spectural light...as does windows ->alpha 0...If you do not see the land...you are doing it right ;)

If you followed Fridgers instructions precisely...all I can say is give it a whirl...It can't hurt :mrgreen:
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

Miserableman
Posts: 65
Joined: 03.04.2002
With us: 22 years 10 months
Location: Brighton, England
Contact:

Post #23by Miserableman » 21.06.2002, 02:49

If you do not see the land...you are doing it right ;)


I will hold you to that :O)

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

Post #24by t00fri » 21.06.2002, 13:41

Miserableman wrote:
If you do not see the land...you are doing it right ;)

I will hold you to that :O)


As Ras wrote, a very good check that you did things right is that the land /looks/ transparent (<=> reflectivity = 0);-).

Bye Fridger

Guest

Post #25by Guest » 21.06.2002, 18:31

It worked in GIMP :O))

But I had exactly the same thing up in Paint Shop Pro, and it didn't work. And don't get me started on Photoshop...

Now just clouds and haze to figure out :O(((((((((


Return to “Development”