Page 1 of 1

3/4 cloud map

Posted: 24.07.2008, 09:48
by Adirondack
I was trying to build a cloud map (2048/1024). Well, that worked fine, but it does not work as expected on planets with Celestia.
When I apply my cloud map to the Earth (or any other planet), only 3/4 of the planet has got clouds (= 1/4 without clouds).
It looks like the planet is wrapped only 3/4 by the entire cloud map (so it seems that the map is not wide enough in order to wrap the whole planet).

What did I do wrong?

Adirondack

Re: 3/4 cloud map

Posted: 24.07.2008, 11:19
by selden
You'll have to provide a copy of one of the texture image files for someone else to help.
However, I'd check to make sure it's actually 2048x1024. The symptom sounds consistent with the image being wider than 2048.

Re: 3/4 cloud map

Posted: 24.07.2008, 11:55
by rthorvald
Email me the file and ssc, and i can have a look.

- rthorvald

Re: 3/4 cloud map

Posted: 24.07.2008, 17:01
by Adirondack
Yes, the map is is definitively 2048x1024.

The cloud map itself looks okay (resized to 1K):
test_clouds_1K.png

But when applied the cloud map just wrapped the planet 3/4
(planet is black for demonstration):
test_cloudmap.jpg

Here's a test-package for testing (incl. SSC) / ~ 1 MB [EDIT: Link removed]

Thanks in advance,

Adirondack

Re: 3/4 cloud map

Posted: 24.07.2008, 17:31
by rthorvald
Ulrich,
Your cloudmap seems to lack an alpha channel, and is in index color mode.
Convert the image to RGB colors, and create a mask for the black, and you should be OK.

- rthorvald

Re: 3/4 cloud map

Posted: 24.07.2008, 17:36
by BobHegwood
Don't know if it makes any difference or not, but the image is also at an 8-bit depth, rather than the usual 24-bit depth.
Thanks, Brain-Dead
EDIT: Didn't mean to imply that this was my add-on. Sorry. Change the text above to reflect this. :wink:

Re: 3/4 cloud map

Posted: 24.07.2008, 19:32
by rthorvald
BobHegwood wrote:Don't know if it makes any difference or not, but the image is also at an 8-bit depth, rather than my usual 24-bit depth.
That is what i meant. Convert to RGB, and you will get all your 24 bits back :wink:

- rthorvald