Page 1 of 1

System Creation Problem

Posted: 10.06.2009, 21:02
by Mr Noob
Hi everyone.

For the first time (in a long while) I have actually started work on a new system for the star Ross 128. However I have encountered a problem in Celestia and I think that numerous things in my SSC code are wrong. When I run Celestia and go to Ross 128, I see the first planet that I have created, rings and other textures can be seen with excellent results. I also defined a moon of that planet and gave it textures and settings... but here the problems begins...

The moon is not drawn in Celestia though it is defined as a name in the system. Not only can I see any textures, its the whole sphere thats missing. To support my problem I have a copy of the code shown below. Can anyone help me out as to why this moon isn't being drawn?

I have used no system generation software. This has been created from the ground up using notepad.

Code: Select all

"Zar'Kar" "Ross 128"
{
   Texture "Zar'Kar.jpg"
   NightTexture "Zar'Kar Night.jpg"
        Color [ 255 255 255 ]
   Radius 22913.8075194
   Oblateness 0.091837152
        EllipticalOrbit {
      Period            2.19054
      SemiMajorAxis     0.01139
      Eccentricity      0.1928
      Inclination       3.0739
      MeanAnomaly       97.3881
   }
   Rings {
      Inner   41907.542813
      Outer   104882.753941
      Texture "Zar'Kar Rings.dds"
      Color   [ 255 255 255 ]
   }
   RotationPeriod 12.9085
   Obliquity 21.08
   Albedo 0
}

"Ok'am" "Ross 128/Zar'Kar"
{
   Texture "Ok'am.jpg"
   BumpMap "Ok'am Bump.jpg"
   BumpHeight 5
   Color [ 255 255 255 ]
   Radius 909.1758
   EllipticalOrbit {
      Period            10.9895
      SemiMajorAxis     209117.5043
      Eccentricity      0
      Inclination       1.9038
      MeanAnomaly       223.5797
   }
   RotationPeriod 92.7715
   Obliquity -9.083514
   Albedo 0.1594
}




Thanks for any help

M.Noob

Re: System Creation Problem

Posted: 10.06.2009, 22:25
by selden
1. You should avoid punctuation marks in filenames: get rid of the apostrophes and spaces.
They cause problems for command-line utilities. Use underscores instead.

2. Color values go from 0 to 1, not 0 to 255.

After making those changes, it works fine for me.

Re: System Creation Problem

Posted: 12.06.2009, 16:27
by Mr Noob
Selden,

I changed the colour values to their correct properties and also removed the apostrophes and spaces. I replaced the spaces with underscores however the moon still isn't being drawn in Celestia for me. The one thing I didn't mention in my previous post was the version of Celestia I am running which is 1.5.0. I will try and get the latest version for my laptop and see if that makes a difference.

Cheers

M.Noob

Re: System Creation Problem

Posted: 12.06.2009, 18:41
by Hungry4info
Just checking, did you replace

Code: Select all

"Ok'am" "Ross 128/Zar'Kar"

with

Code: Select all

"Ok_am" "Ross 128/Zar_Kar"


It may be that you didn't change the name of the orbited body when you declared the moon.

Re: System Creation Problem

Posted: 12.06.2009, 19:56
by Mr Noob
Hungry4Info,

Yes i did do that and it didn't let me see the Moon. I have just got 1.5.1 Celestia, so I am going to mess around with it in that.