Sorting the add-on directory-a few queries

General discussion about Celestia that doesn't fit into other forums.
Topic author
ziggy
Posts: 64
Joined: 27.03.2003
With us: 21 years 8 months

Sorting the add-on directory-a few queries

Post #1by ziggy » 30.06.2003, 21:14

Hi all,
Firstly,thanks and appreciation for the latest pre-release to Chris and any others involved. I was surprised to see Earth in the opener, as that was always my first edit! Am I right about IO being there because of its binary connotations? I really like the alternate surface option.I did a relatively painless upgrade using the "total add-on directory" method which I would strongly recommend, even though it seems like a lot of folders to create at first.This worked fine for all added-on vehicles,nebulae etc. I also used the new alternate surface option to add the bathymetry ssc/texture to Earth. I hadn't previously grasped that the alternate resolution mode using the "r" key only worked with files of the same name and type in the different folders (hires etc) so it didn't work with a dds file, a jpeg, and a png for example (aren't I thick). So I edit the ssc and change textures that way, this being more to remember to do, when changing to a newer version.What has eluded me so far,(and is probably/hopefully obvious), is how to do this with alternative textures such as night lights, aurorae, and clouds, in the same way as the bathymetry texture. My graphics card will only cope with so much, so switching to different combinations of textures would be handy. Can you have more than one alternative texture in the right click menu? Can this be done without editing the solar ssc? Ideally I would like not to have to edit any "original" files, and use only the add-on directory for all customisations, so it will be even easier to upgrade. I am also still hoping someone can solve the 1752 clock problem-any hope?
Thanks again,especially to the genius contingent ,but also those whose contributions make this such an entertaining forum,
regards ziggy :D

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

Post #2by selden » 30.06.2003, 22:29

Ziggy,

Celestia v1.3.1pre3 and later now support "wildcard filetypes". This means that if you specify a texture filetype of * as in "earth.*" then r and R will switch between textures\lores\earth.jpg, medres\earth.png and hires\earth.dds so long as those are the only files with that name.

The filetype search order is .PNG, .JPG and finally .DDS, so if you have earth.jpg in the same directory with earth.dds, you'll see the jpg texture, not the dds.

You can define as many alternate textures as you want in a separate .SSC file, and they'll all be listed in the context manu.

Does this help?
Selden

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

Post #3by ElPelado » 30.06.2003, 22:59

and what about 1752??
---------X---------
EL XENTENARIO
1905-2005

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

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

Post #4by selden » 30.06.2003, 23:05

Someday ;)

Chris will have to write (or someone will have to provide) a replacement for the Microsoft date input routine. He's been working on more interesting things.

Don't forget that you can create Cel:// URLs for dates that interest you.
Selden

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

Post #5by selden » 30.06.2003, 23:16

Ziggy,

Sorry, I should have quoted your message. I overlooked your question about textures. You can specify alternates for any of the surface texture maps. Clouds aren't surface textures.

In other words, this works:

Code: Select all

AltSurface "Lowell's Canals" "Sol/Mars"
   {
      Texture "plmars-texture-v3.*"
      NightTexture "plmars2-night-v3.*"
      BumpMap "marsbump.*"
      BumpHeight 2.5
   }


(Except that the nighttexture I made is really ugly, so you'll have to provide your own.)
Selden

Topic author
ziggy
Posts: 64
Joined: 27.03.2003
With us: 21 years 8 months

Post #6by ziggy » 02.07.2003, 20:06

Seldon-thanks for your advice, I hadn't understood the wildcard thing,as applied here(although I've used it for searches etc), It's now gripped.I had done a fair bit of unnecessary work making ssc files to include alternative textures to display in the right click menu, when I just had to re-name the front part of them and put them in hires etc. You live and learn. I thought that cloud-maps and the like were textures because they go in the textures folder.....
regards ziggy

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

Post #7by selden » 02.07.2003, 20:17

ziggy wrote: I thought that cloud-maps and the like were textures because they go in the textures folder.....
regards ziggy


They are textures. They're just not planet surface textures.
The new alternates are only for surface textures. :(
Selden

Topic author
ziggy
Posts: 64
Joined: 27.03.2003
With us: 21 years 8 months

Post #8by ziggy » 02.07.2003, 20:42

oh! now I see, please don't be :( on my account, I'm easily baffled but I'm quite used to it.... be :D
ziggy

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

Post #9by selden » 02.07.2003, 21:07

Ziggy,

I'm :( on my own account!

Personally, I'd like to see alternate texture support both for clouds and for Nebula textures. Maybe someday in a future major release....
Selden


Return to “Celestia Users”