What is "hires", "medres", "lores"
-
Topic authorxyz
- Posts: 43
- Joined: 25.05.2002
- With us: 22 years 5 months
- Location: Montreal, Canada, Earth
What is "hires", "medres", "lores"
What are this, an how can i use it if i had an earth.png as medres and earth16k.dds as hires? what do i have to write in the solarsys.ssc file?
Interesting Projects:
Celestia an open source space simulator.
EventGhost an open source PC remote control.
TA Spring
OpenTTD
Celestia an open source space simulator.
EventGhost an open source PC remote control.
TA Spring
OpenTTD
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
What is "hires", "medres", "lores"
xyz wrote:What are this, an how can i use it if i had an earth.png as medres and earth16k.dds as hires? what do i have to write in the solarsys.ssc file?
The filname entry in solarsys.ssc determines after which filename Celestia searches. Preferentially the search goes "downward" in resolution (starting in medres), but thereafter also "upward" (hires) if no suitable file is found.
So, if you write Texture "earth16k.dds" in solarsys.ssc, the program only looks for files with exactly that name.
For Unix/Linux users, it is practical to always employ generic names in solarsys.ssc, like e.g. earth.dds, but apply 'symbolic links' to the actual files in the various texture directories. E.g.
medres: ln -s earth4k.dds earth.dds
lores : ln -s earth2k.dds earth.dds
hires : ln -s earth8k.dds earth.dds
This is particularly useful if one is experimenting with different textures. solarsys.ssc always remains the same and you only link different files to that filename in the various directories.
Bye Fridger
-
Topic authorxyz
- Posts: 43
- Joined: 25.05.2002
- With us: 22 years 5 months
- Location: Montreal, Canada, Earth
And can i do something like that in Windows?
I have 2 texture files for earth, one at 16k and one at 2k i think, one cold *.dds and the other cold *.png?
What can I do to use them both and just select them from my program, I think that is the use of those three folders :?: :!: :?
I have 2 texture files for earth, one at 16k and one at 2k i think, one cold *.dds and the other cold *.png?
What can I do to use them both and just select them from my program, I think that is the use of those three folders :?: :!: :?
Interesting Projects:
Celestia an open source space simulator.
EventGhost an open source PC remote control.
TA Spring
OpenTTD
Celestia an open source space simulator.
EventGhost an open source PC remote control.
TA Spring
OpenTTD
xyz wrote:And can i do something like that in Windows?
I'm afraid not. I even tried renaming my .png to a .jpg to match what was already in the .ssc, but apparently Celestia's texture reader depends on the file name extension to determine the file type, rather than peeking into the header. ( This is my belief, not fact. I haven't actually looked at the source code. )
I'm guessing that this is something that we won't see at least until 1.2.6, although I hope we can propose a more elegant solution to inserting custom data by then. ( something that doesn't require the user to modify any config files )