32k BlueMarble Virtual Earth Texture is now available

Tips for creating and manipulating planet textures for Celestia.
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #121by don » 20.09.2003, 05:33

Thanks Selden. That's why you guys are the graphics experts. :)

I'll just enjoy, and quit asking stupid questions -- er, make that uninformed or uneducated questions. :wink:

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #122by chris » 20.09.2003, 17:13

selden wrote:Don,

You can't cut up a compressed image.


You can cut up some compressed images, including ones compressed in DXTn format. DXT-compression splits the image into 4x4 blocks, which are completely independent of one another. So, as long as you're splitting between block boundaries, breaking up the image into tiles is very straightforward. This is in fact what Celestia does when loading normal DDS textures which are too large for hardware (e.g. an 8k x 4k texture will be split into two 4k x 4k textures on GeForce and Radeon cards.)

--Chris

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 5 months
Location: New York City

Post #123by wcomer » 22.09.2003, 17:13

don,

I don't know how to split them via chris's method. I think that would require building my own image processing tool. However, I think it may be possible by doing the following (maybe chris could pipe in on the whether or not this would work.)

1) donwnscale the 2x21kx21k tiles to 2x16kx16k, 2x8kx8k, 2x4kx4k, ..., 2x512x512 .tga images.
2) -dxt1c compress both 16k16k .tga to .dds
3) uncompress both the 16kx16k .dss to .tga.
4) dice both the 16kx16k .tga into 1024x512x512 .tga's
5) -dxt1c compress the 1024x512x512 .tga's to .dds
6) repeat steps 2-5 for the 2x8kx8k, 2x4kx4k, ..., 2x1kx1k .tga's.
7) repeat step 2 for the 2x512x512 .tga's.
8) take the level5 tiles on both side of the prime meridian. Uncompress them. Built 32x1kx512 blocks. Compress and Uncompress these. Split these 32x1kx512 into 64x512x512 level5 tiles.

That should fix all the seams... maybe.

-Walton

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #124by don » 22.09.2003, 20:22

wcomer wrote:I don't know how to split them via chris's method. I think that would require building my own image processing tool. However, I think it may be possible by doing the following (maybe chris could pipe in on the whether or not this would work.)

Hi Walton,

Wow, looks like you've been wearing your thinking cap! :)

Hope this, or what Chris is talking about, will work. Good luck testing!

-Don G.

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Post #125by Harry » 27.09.2003, 16:45

wcomer wrote:Don, The seams are normal and due to mismatches between the -dxt1c compression of adjacent tiles. I don't know of any compression formats that filter the edges so as to assure proper matching. Probably the only solution is to use a lossless compression like .png or to use -u888 dxt format.


At least on my system (GF 2MX/Linux) this is not due to tile-compression, but probably due to texture-filtering. See the result with lossless compression (PNG) (inset shows the two tiles joined with a graphics program):
Image

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #126by don » 27.09.2003, 18:05

Harry wrote:At least on my system (GF 2MX/Linux) this is not due to tile-compression, but probably due to texture-filtering.

Hmmmm, very interesting.

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 5 months
Location: New York City

Post #127by wcomer » 27.09.2003, 20:30

Harry,

Did you build the .png's from the original Bluemarble Texture, or from the .dds's?

-Walton

Don. Edwards
Posts: 1510
Joined: 07.09.2002
Age: 59
With us: 22 years 2 months
Location: Albany, Oregon

Post #128by Don. Edwards » 28.09.2003, 07:50

I ran into the same problem when I compressed my 16k Realistic Earth texture. Right down the middle of the 16k .dds is a very slight mismatch between the halves. It is not present in the master texture but only in the .dds. But it is really only visible if you really zoom in close. Were talking down below the normal viewing level were almost everything get blurry anyway. I can only surmise that the textures two halves are being compressed separately and then being reassembled into one big .dds. This is only of my concerns on my 32k texture. I now that there are going to be some mismatches. That’s one of the reasons I am looking for help to break this thing down into tiles that won't show these misalignments I hope.

Don. Edwards
I am officially a retired member.
I might answer a PM or a post if its relevant to something.

Ah, never say never!!
Past texture releases, Hmm let me think about it

Thanks for your understanding.

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Post #129by Harry » 28.09.2003, 21:58

wcomer wrote:Did you build the .png's from the original Bluemarble Texture, [...]?


Yes, they should match the BM-Tiffs exactly (except for being scaled down to 32k). The inset is taken from the tiles themselves, showing no seam at all, so the seam must have been introduced by the texturing in 3d.

(edit: made "yes" non-ambigous)

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 5 months
Location: New York City

Post #130by wcomer » 29.09.2003, 22:50

Harry wrote:Yes, they should match the BM-Tiffs exactly (except for being scaled down to 32k). The inset is taken from the tiles themselves, showing no seam at all, so the seam must have been introduced by the texturing in 3d.


Great work, Harry! Does anyone know if chris is aware of this bug?

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Post #131by Harry » 29.09.2003, 23:17

wcomer wrote:Does anyone know if chris is aware of this bug?


Hmm, is this really a bug (in celestia), or just a general problem of OpenGL-Texturing? My "theory" is that enlarged textures are smoothed only within a single texture, so pixels on the border don't match their neighbours in another texture-tile (see for example the ice of the volcano - the last line of bright pixels is on one tile, the green, darker pixels on the other, so there is a sharp edge because the difference is not smoothed as it would be if all pixels were within one tile (hope it is clear what I want to say :)

But this is only a theory, if someone with solid knowledge about this could comment on this...

Luckily this problem only appears when extremely close to the surface, so IMHO this shouldn't be a serious issue.

Guest

split it, split it good! NA, NA NA NA NA NA...

Post #132by Guest » 05.10.2003, 16:34

Can you pleas split the level 5 zip file into 2, 3, or maby even 4 files?
My computer cont even download to the halfway point without re-booting :?

Thank you for a grate textur :D , I hope to be downloading level 5 soon!

Florent

installing virtual texture

Post #133by Florent » 07.10.2003, 09:03

Hi all :)

I'm new to Celestia, and I've successfully installed some textures in solarsys.ssc... .but this package is strange for me :)

I unzipped the zip in the right directory (I think...), so now I have :

C:\Program Files\Celestia\extras\BlueMarble DDS
wich contains :

textures directory
BlueMarble DDS.ssc
Readme

Is it correct ? I thnik this is the first thing I have to check...


Then, if it's ocrrect, when I try this, like mentioned in the readme :

How to see the virtual texture:
-> Run celestia.
-> Right click Earth on Earth.
-> Select Alternate Surfaces.
-> Select BlueMarble DDS.

The 3rd step doesn't work at all... I right click on the eart, but the menu wich appears dosen't contain an option to select alternate suface...

So, please help !!!!! 8) 8) 8)

granthutchison
Developer
Posts: 1863
Joined: 21.11.2002
With us: 22 years

Post #134by granthutchison » 07.10.2003, 12:31

Which version of Celestia are you running?

Grant

Florent

Post #135by Florent » 07.10.2003, 13:07

oops !!!!!

1.3.0, the latest stable release...

I didn't saw that I need a beta version to use it...

Thanks a lot and sorry for the stupid question :)

Florent

Post #136by Florent » 07.10.2003, 13:09

Me again... (I'll register soon, to be able to edit my posts...)

is it the latest beta ?
http://63.224.48.65/celestia/files/cele ... 1pre11.exe

12 Mo :)

"pre11" ?

thx again :oops: :oops:

ElPelado
Posts: 862
Joined: 07.04.2003
With us: 21 years 7 months
Location: Born in Argentina
Contact:

Post #137by ElPelado » 07.10.2003, 14:18

yes thats the last one.
---------X---------
EL XENTENARIO
1905-2005

My page:
http://www.urielpelado.com.ar
My Gallery:
http://www.celestiaproject.net/gallery/view_al ... y-Universe

Florent

Post #138by Florent » 07.10.2003, 16:18

Thanx again and again !!!

It works great !!!!

I really like Celestia and my chlidren like it too :))

go on this way !! 8) 8) 8)

Star Lion
Posts: 116
Joined: 09.08.2003
With us: 21 years 3 months
Location: Mosesto CA

pleas

Post #139by Star Lion » 07.10.2003, 23:42

The level 5 textur is down, when I try to download it my computer reboots, just like that guest, can you pleas split that zip file into 2, or 4 parts, then it will be easer to download

thank you
Come visit my:
Celestia Add-on website at:
http://www.starlionfiles.50megs.com
Reconstruction of Bruckners Celestia Page at:
http://www.bruckner.50megs.com
Celestia Mirror at:
http://www.celestiamirror.50megs.com

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Re: pleas

Post #140by Harry » 08.10.2003, 23:02

Star Lion wrote:when I try to download it my computer reboots


If your download is unreliable, you should use a download-manager capable of resuming downloads. And you should check your system, as there must be something wrong with it if it reboots without reason (if you are running an unpatched Windows XP or 2k, you may suffer from the msblaster-worm - but then there should be a 60sec-countdown before reboot).


Return to “Textures”