Marstour XXL

Post requests, images, descriptions and reports about work in progress here.
Topic author
charlyms
Posts: 16
Joined: 27.09.2006
With us: 18 years
Location: m??nster/germany
Contact:

Marstour XXL

Post #1by charlyms » 15.11.2007, 06:48

Hello again!
Get some problems with the Mars tour XXL from Adirondack. Everything I tried failed; mars disappears fully from the programm.
Now I have saturn not mars in the tour :? . My extra??s folder seems to be a fine mess!
Is anyone so kind and explain how to edit the solarsysfolder?
The original section is:
Atmosphere {
Height 30
Lower [ 0.8 0.6 0.6 ]
Upper [ 0.7 0.3 0.3 ]
Sky [ 0.83 0.75 0.65 ]
Sunset [ 0.7 0.7 0.8 ]
# Slightly bluish sunset, as seen in true color pictures
# from Pathfinder

Mie 0.0024
MieAsymmetry -0.15
Rayleigh [ 0.0010 0.0006 0.0003 ]
Absorption [ 0 0 0 ]
MieScaleHeight 20

I have to replace or to complte following lines without erasing other lines:
* CloudHeight 10
* CloudSpeed 70
* CloudMap "MarsClouds.png"
Kindly regards
Charlyms

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years
Location: NY, USA

Post #2by selden » 15.11.2007, 11:43

You neglected to say which version of Celestia you're running.
The Mie statements can only work with a Celestia v1.5.0 prerelease. See the sticky at the top of the Users forum for where to get a copy.

Typos in solarsys.ssc can do serious damage. You'll need to start by restoring the original version. If you've lost it, you can download one from SourceForge. Be sure to get one that's compatible with the version of Celestia that you're running.

This kind of damage is why one should not directly edit solarsys.ssc. When changing or adding text to an object definition you should use the SSC Modify directive in a separate SSC file in the /extras/ directory:

Code: Select all

Modify "Mars" "Sol" {
Atmosphere {
Mie 0.0024
MieAsymmetry -0.15
Rayleigh [ 0.0010 0.0006 0.0003 ]
Absorption [ 0 0 0 ]
MieScaleHeight 20

CloudHeight 10
CloudSpeed 70
CloudMap "MarsClouds.png"

}
}


Mie directives override the other types of Atmosphere color directives, so there's no point in having them both.
Selden

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 20 years 6 months

Post #3by Adirondack » 15.11.2007, 18:37

Get some problems with the Mars tour XXL from Adirondack.

charlyms must have been mistaken.

Only

Code: Select all

         CloudHeight 10
         CloudSpeed 70
         CloudMap "MarsClouds.png"

must be added in the atmosphere-section of Mars (and nothing else).

@ charlyms: I assume that you also added the "*", right?
Just delete all "*" and everything should work fine.

If you want to define an extra ssc (like Selden recommended) you should type this:

Code: Select all

Modify "Mars" "Sol" {
Atmosphere {

CloudHeight 10
CloudSpeed 70
CloudMap "MarsClouds.png"

}
}


Maybe I should update the touring add-ons so that there is no necessity to modify files any more. :roll:

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

Topic author
charlyms
Posts: 16
Joined: 27.09.2006
With us: 18 years
Location: m??nster/germany
Contact:

Marstour XXL

Post #4by charlyms » 19.11.2007, 06:47

Hello all!
I have no luck by editing the solarsysfile at all!
If Adirondack be so kind and explain it again or better post the edited part of the solasysfile??
My "extra-file" works fine! Why?
Kindly regards
Charlyms

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 20 years 6 months

Post #5by Adirondack » 19.11.2007, 11:39

charlyms,

when you are using an extra-ssc-file to define the clouds, you don't have to edit the solarsys.ssc !

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)

The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

Topic author
charlyms
Posts: 16
Joined: 27.09.2006
With us: 18 years
Location: m??nster/germany
Contact:

Marstour XXL

Post #6by charlyms » 19.11.2007, 13:34

Hello!
@Adirondack: Yes , I know, but I only ask myself (and you :) ) why your proposal don??t
working in the way I realized, sorry!
Kindly regards
Charlyms

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 16 years 11 months

Re: Marstour XXL

Post #7by BobHegwood » 19.11.2007, 15:29

charlyms wrote:I have to replace or to complte following lines without erasing other lines:
* CloudHeight 10
* CloudSpeed 70
* CloudMap "MarsClouds.png"
Kindly regards
Charlyms


Ulrich and Charlyms,

You're not leaving in the asterisks are you? I remember that - in the
original tour - I had asterisks surrounding ALL of the installation
notes. I wasn't as smart then as I am now. :wink:

At any rate, just thought I'd ask. Charlyms, the Mars portion of
your solarsys.ssc file should look exactly like the following - with
the caveats that you may or may not use capitalization the way
that I do AND you may not have a normal map:

Code: Select all

#########################
# The planet Mars.   #
#########################
"Mars" "Sol"
{
   Texture         "Mars.jpg"
   NormalMap      "MarsNormal.jpg"
   Color         [ 1 0.75 0.7 ]
   HazeColor      [ 1 1 1 ]
   HazeDensity      0.45
   Radius         3396               # Equatorial.
   Oblateness      0.0069

   Atmosphere
   {
   Height         30
   Lower         [ 0.8 0.6 0.6 ]
   Upper         [ 0.7 0.3 0.3 ]
   Sky         [ 0.83 0.75 0.65 ]
   Sunset         [ 0.7 0.7 0.8 ]            
   Mie         0.0024
   MieAsymmetry      -0.15
   Rayleigh      [ 0.0010 0.0006 0.0003 ]
   Absorption      [ 0 0 0 ]
   MieScaleHeight      20
   CloudHeight      10
   CloudSpeed      70
   CloudMap      "MarsClouds.png"
   }

   CustomOrbit      "vsop87-mars"
   EllipticalOrbit
   {
   Period         1.8809
   SemiMajorAxis      1.5237
   Eccentricity      0.0934
   Inclination      1.8506
   AscendingNode      49.479
   LongOfPericenter   336.041
   MeanLongitude      355.453
   }

   UniformRotation
   {
   Period         24.622962
   Inclination      26.72
   AscendingNode      82.91
   MeridianAngle      136.005
   }

   Albedo         0.150
}


You can modify your existing code as Ulrich decribes above, but
if your solarsys.ssc file is in ANY way screwed up, then that won't
fix the problem.

Just trying to help...

Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Topic author
charlyms
Posts: 16
Joined: 27.09.2006
With us: 18 years
Location: m??nster/germany
Contact:

Marstour XXL

Post #8by charlyms » 19.11.2007, 23:02

Hello all!
Sorry, now I don??t understand anything!
Bob, your Editing works fine, thank??s. My English is to bad, so I cannot understand the rest, sorry!
Kindly regards
Charlyms

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 20 years 6 months

Re: Marstour XXL

Post #9by Adirondack » 20.11.2007, 00:04

charlyms wrote:Sorry, now I don??t understand anything!
I will clarify everything in a personal email to charlyms in plain german. :D

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)

The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 16 years 11 months

Re: Marstour XXL

Post #10by BobHegwood » 20.11.2007, 02:52

Adirondack wrote:
charlyms wrote:Sorry, now I don??t understand anything!
I will clarify everything in a personal email to charlyms in plain german. :D

Adirondack


Danke my friend... Hope that helped.

Take care, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN


Return to “Add-on development”