DDS Files & 3D Models

Tips for creating and manipulating planet textures for Celestia.
Topic author
cacjardy
Posts: 11
Joined: 12.08.2009
With us: 15 years 3 months

DDS Files & 3D Models

Post #1by cacjardy » 12.08.2009, 11:57

Hi,

I havn't been able to get 3D planet models working with DDS textures.

With Mars_1x, my 8k Mars DDS map is white all over.

Is there some kind of fix?

Cak.

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

Re: DDS Files & 3D Models

Post #2by selden » 12.08.2009, 12:24

That means that Celestia cannot find the surface texture images. Textures specified within model files must be in the medres folder. Some other possible issues are described at http://www.lepp.cornell.edu/~seb/celest ... tro.html#6
Selden

Topic author
cacjardy
Posts: 11
Joined: 12.08.2009
With us: 15 years 3 months

Re: DDS Files & 3D Models

Post #3by cacjardy » 12.08.2009, 13:28

I have found that the texture works with a single .png file, but not with a DDS or VT.

I have tried numerous ways of getting this to work, but all have failed.

Cak.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: DDS Files & 3D Models

Post #4by cartrite » 12.08.2009, 13:53

I have a 3d model of Mars at the Celestia Motherlode called "3D Mars". Is this the model you are using? A dds texture should work on that model but you have to rename it and it must not be a VT. The model looks for a texture called mars.* where star could be dds. So you would have to rename the full dds texture of mars to mars.dds. Also A VT texture does not work on models.
You also must use a texture that will fit into the buffer of your video card or Celestia will make a VT out of it and it still won't work. Check the "Help" tab from the toolbar and click on Open GL Info. This will have a field called "texture size" and you'll have to use a texture equal to that size or smaller.

I didn't supply a texture with that model. One way to use:
Download one of the mars dds textures from the Celestia Motherlode. Download one that is 8k, 4k or 2k depending on the maximum texture size supported by your video card. Create a new folder in the 3dMars folder called "textures". Then open the textures folder and create another folder called "medres". Then put the dds texture of mars there and rename it to mars.dds.

Another way is to edit the ssc file. Replace the line Texture "mars.* with Texture "name of the file you are using".


cartrite
Last edited by cartrite on 12.08.2009, 14:13, edited 1 time in total.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
cacjardy
Posts: 11
Joined: 12.08.2009
With us: 15 years 3 months

Re: DDS Files & 3D Models

Post #5by cacjardy » 12.08.2009, 14:05

Thanks for the help. I found out the DDS file I was using was corrupt, so DDS files do work.

That's sad about VTs not working on 3D models. That may be a thing to fix in Celestia 1.6.1.

Cak.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: DDS Files & 3D Models

Post #6by cartrite » 12.08.2009, 14:15

cacjardy wrote:That's sad about VTs not working on 3D models. That may be a thing to fix in Celestia 1.6.1.

Cak.
Probably not 1.6.1. Maybe for 1.7 though?
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4


Return to “Textures”