Trouble With Textures

General discussion about Celestia that doesn't fit into other forums.
Topic author
Mad Boris
Posts: 50
Joined: 03.04.2002
With us: 22 years 8 months
Location: Cardiff, UK

Trouble With Textures

Post #1by Mad Boris » 11.05.2002, 17:21

I've been downloading some hi-res (4K) cylindrical jpeg maps for Celestia but they don't seem to work. If I modify the .ssc file so that it reads, say : Texture "earth.png" (and obviously replace the old file with the new), then I see a blurred map of Earth. If I make it read "earth.jpg", which would seem more logical given they're in jpeg format, then Earth develops a particularly nasty ice age and becomes a smooth white marble i.e. no texture whatsoever. I downloaded these files from :
http://gw.marketingden.com/planets/planets.html
Afraid I don't know what graphics card I have. I am running Windows XP and have 1.1Ghz to play with. Can anyone help ? I'm sure there a similar posts on other sections of the forum but I can't find them (to be perfectly honest, that's just me being lazy :oops: )

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

Post #2by chris » 11.05.2002, 17:38

Choose "OpenGL Info" to find out what graphics card you have and what extensions it supports . . . Post the contents of the window here and I'll be able to tell you more about what to do to get hires textures working.

--Chris

Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 10 months
Location: Altair

Post #3by Rassilon » 12.05.2002, 06:54

Make sure the textures are resized to be a multiple of 64...preferrably a multiple of 64...ie 512 x 256, 1024 x 512 etc...Some of those textures are like 1000 x 500 and I had the same problem getting them to work untill I resized them in a paint program to one of those standard sizes...

Also your graphics card may not be able to handle textures over 2048 x 1024 or 4096 x 2048...Try shrinking the textures to one of those sizes until one works...
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!

Guest

Post #4by Guest » 12.05.2002, 10:47

I'm new to Celestia myself and I agree that it's an awesome piece of software, I just need to pop out and buy myself the latest GEForce card :lol: ..... I had a problem trying to use the 2048 x 1024 triton texture and thought it was down to my video card but I followed Chris' advice and checked the OpenGL info which said it supported a max texture size of 2048. I eventually tracked it down to the file extension being .jpeg instead of .jpg and of course with Windows hiding the file extensions it wouldn't be immediately apparent. I renamed it and it worked fine, don't know if this would help you out

--Barry

Topic author
Mad Boris
Posts: 50
Joined: 03.04.2002
With us: 22 years 8 months
Location: Cardiff, UK

Post #5by Mad Boris » 12.05.2002, 13:39

The OpenGL info option reveals...

Vendor: Intel
Renderer: Intel 810/810E
Version: 1.1.2 - Build 4.13.01.2872
Max simultaneous textures: 2
Max texture size: 1024

Supported Extensions:
GL_ARB_multitexture
GL_ARB_texture_env_add
GL_ARB_transpose_matrix
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_clip_volume_hint
GL_EXT_compiled_vertex_array
GL_EXT_cull_vertex
GL_EXT_fog_coord
GL_EXT_packed_pixels
GL_EXT_packed_pixels_12
GL_EXT_paletted_texture
GL_EXT_rescale_normal
GL_EXT_stencil_wrap
GL_EXT_texture_env_add
GL_EXT_texture_env_combine
GL_EXT_texture_filter_anisotropic
GL_IBM_texture_mirrored_repeat
GL_WIN_swap_hint

Which to me is meaningless.

I tried resizing the maps to multiples of 64 as suggested - didn't work. So I tried re-saving them as .png files with their new sizes but I still only got a blurred image.

Topic author
Mad Boris
Posts: 50
Joined: 03.04.2002
With us: 22 years 8 months
Location: Cardiff, UK

Post #6by Mad Boris » 12.05.2002, 13:47

Ignore that last post ! After reading Rassilion's reply more closely I realised the width/height ratio had to be 2:1. After resizing properly the textures work fine (albeit a bit slow when first loading as you approach the planet). Thanks everybody !

Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 10 months
Location: Altair

Post #7by Rassilon » 12.05.2002, 16:32

Max texture size: 1024


Thats all you need...Your max size on textures is 1024 x 512 or 1024 x 1024...
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!

Topic author
Mad Boris
Posts: 50
Joined: 03.04.2002
With us: 22 years 8 months
Location: Cardiff, UK

Post #8by Mad Boris » 12.05.2002, 18:06

Ah..... I see. Unfortunately it seems to be wrong : I resized a 4k map (I think it was originally 4000 by 2000) to 4096 by 2048, and it works just fine ! I may try a 10k map if I can tolerate the download time....

Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 10 months
Location: Altair

Post #9by Rassilon » 12.05.2002, 18:31

Yeah but like a Voodoo card I believe its appearence will be only 1024 x 1024 at the max...Try one of similar resolution...eg. 1024 x 512 and see...I am willing to bet you won't notice a difference...
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!

Topic author
Mad Boris
Posts: 50
Joined: 03.04.2002
With us: 22 years 8 months
Location: Cardiff, UK

Post #10by Mad Boris » 13.05.2002, 16:34

Actually I notice a BIG difference. When viewing the Apollo module over the moon map provided with Celestia, the moon appears as basically a washed-out grey blur. Using a 4K map, smal craters and maria are clearly visible and distinguishable. Afraid you'll have to trust me on this : i don't have any webspace from which to post the images.

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

Post #11by chris » 13.05.2002, 17:41

Rassilon wrote:Yeah but like a Voodoo card I believe its appearence will be only 1024 x 1024 at the max...Try one of similar resolution...eg. 1024 x 512 and see...I am willing to bet you won't notice a difference...

As of version 1.2.2, Celestia will split textures into smaller chunks in order to overcome the maximum size limit of your graphics card. So you can see high resolution textures even on older cards like the Voodoo3 which limits textures to 256x256. You are of course limited by the amount of memory available on the card--an 8192x4096 texture just isn't going to fit on a 16 meg card.

--Chris


Return to “Celestia Users”