New texture layer help. Editing Jupiter ssc data...

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
emstef
Posts: 2
Joined: 09.01.2010
With us: 15 years 1 month

New texture layer help. Editing Jupiter ssc data...

Post #1by emstef » 10.01.2010, 07:35

Hey guys,

New to Celestia. It's wonderful. But I have a small problem. I've been recently diving into getting all these addons and such to improve my Celestia experience. One of the things I seem to not be able to accomplish is getting new layers. Specifically, I'm having problems with Jupiter.

I downloaded the add on for moving cloud decks on Jupiter. I've done everything the instructions told me to. I copied and pasted the texture in the Texture-->Medres file. And then I found the ssc. file in Resources--->Data--->solarsys.ssc. I've replaced the old texture with the new one, replacing ONLY what was told to. But when I opened Celestia back up, all my planets have now disappeared. I only have the Sun, Stars, and Deep Space objects (and a few dwarf planets). Even when I went back and replaced the data file with the original information to "reset" it, the planets are gone. I've just had to delete Celestia and re-download it to get my planets back.

Can anyone figure out what I'm doing wrong? I scoured this forum for someone with a similar problem and even checked the tutorials. Nothing can shine a light on what's happening. Any help would be appreciated.

Thanks!

-Stef

Avatar
jogad
Posts: 458
Joined: 17.09.2008
With us: 16 years 5 months
Location: Paris France

Re: New texture layer help. Editing Jupiter ssc data...

Post #2by jogad » 10.01.2010, 17:27

Hi,

As you experienced, it is very hazardous to change yourself the content of the files wich are in the "data" directory.
And the addon should have provided as ssc file with a "Modify" command to avoid that.

Most probably you made a typo. The most frequent is to have impaired curve brackets { ... }

The simplest is probably to restore the original file and resume carefully the manipulation.

Avatar
John Van Vliet
Posts: 2948
Joined: 28.08.2002
With us: 22 years 5 months

Re: New texture layer help. Editing Jupiter ssc data...

Post #3by John Van Vliet » 11.01.2010, 01:18

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:22, edited 1 time in total.

Avatar
jogad
Posts: 458
Joined: 17.09.2008
With us: 16 years 5 months
Location: Paris France

Re: New texture layer help. Editing Jupiter ssc data...

Post #4by jogad » 11.01.2010, 06:16

Have you solved the problem?

Reading your message carefully again, it is as if the file 'solarsys.ssc' did not exist any more in the 'celestia\data' directory.
Or as if it was false from the beginning and not only from Jupiter.

Perhaps you've accidentally moved it elsewhere?

Or you modified it with a word processor. NEVER do that.
The file would be completely unusable and could explain this behavior.

Please, let us know if all this is useful or not for you.

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 4 months
Location: Manassas, VA

Re: New texture layer help. Editing Jupiter ssc data...

Post #5by fsgregs » 23.01.2010, 04:55

A single punctuation error will invalidate all commands in an ssc file that follow it. For example, if you enter this .... Texture "Jupiter.jpg, instead of Texture "Jupiter.jpg", simply leaving out the last quote mark will stop the ssc file cold.

Check all the changes you typed into the ssc file for even one minor error. Cloud textures must go in the section of the ssc file that concerns the atmosphere.

The other option is to use a new ssc file as was suggested above, with a "Modify" command. To do this ... copy an existing ssc file (you can copy solarsys.ssc). Then, paste it into your extras folder. Open it, delete everything in it, and replace it with the following:

Modify "Jupiter" "Sol"
{
Texture "jupiter2.*" # or whatever name you wish
HazeColor [ 0.4 0.45 0.5 ]
HazeDensity 0.3

Radius 71492 # equatorial
Oblateness 0.0649

CustomOrbit "vsop87-jupiter"

Atmosphere {
Height 300
Lower [ 0.7 0.6 0.5 ]
Upper [ 0.5 0.45 0.4 ]
Sky [ 0.8 0.8 0.5 ]
Sunset [ 1.0 0.6 0.2 ]

CloudMap "jupiter-clouds.png" # cloud texture
CloudHeight 250
CloudSpeed 200
CloudShadowDepth 1.0

}

BodyFrame { EclipticJ2000 {} }
UniformRotation
{
Period 9.927953 # System II (for GRS)
# Period 9.92491250 # System III (radio emissions)
Inclination 2.22
AscendingNode 337.80
MeridianAngle 334 # for correct position of GRS, July 2008
# (equal to 461 minus current W longitude of GRS)
# MeridianAngle 305.38 # correct System III prime meridian
}

Albedo 0.51
}

Jupiter will now have a new texture called Jupiter2. It will also have a cloud texture called Jupiter-clouds.png. Be sure you place these new textures in a textures/medres folder that is included in your extras folder.

Hope this has helped.

Frank

Topic author
emstef
Posts: 2
Joined: 09.01.2010
With us: 15 years 1 month

Re: New texture layer help. Editing Jupiter ssc data...

Post #6by emstef » 24.01.2010, 13:04

Hey,

Thanks for the help guys and gals. Sorry I omitted some important data. I am running Mac OSX 10.5.7. I DID make the mistake of editing ssc files in a word processor. I followed all of your suggestions and I have solved the problem. Works great now. Thank you so much. :)

-Stef


Return to “Help Central”