Page 1 of 2

Auuuuggggghhhhh!!!!

Posted: 12.09.2005, 02:45
by WildMoon
:evil: Arrrrrrrggggghhhhh Celestia is not drawing my solar system right!!! :evil:

Code: Select all

# Data for our solar system.

"Astronomica" "ALP Portal"
{
   Texture "Browndwarf.jpg"
   NightTexture "gasgiantnight.jpg"
   Radius 2440

   EllipticalOrbit {
   Period            0.2408
   SemiMajorAxis     0.3871
   Eccentricity      0.2056
   Inclination       7.0049
   AscendingNode    48.33167
   LongOfPericenter 77.456
        MeanLongitude   252.251
   }

   RotationPeriod    1.
   Obliquity         7.01
   EquatorAscendingNode 48.42
   RotationOffset    1.

   Albedo            1.00
}


"Ptolemy" "ALP Portal"
{
   Texture "callisto.jpg"
   Radius 6052

   }

   EllipticalOrbit {
      Period            0.6152
      SemiMajorAxis     0.7233
      Eccentricity      0.0068
      Inclination       3.3947
      AscendingNode     76.681
      LongOfPericenter 131.533
           MeanLongitude    181.979
   }

   RotationPeriod  5832.479839
   Obliquity       178.78
   EquatorAscendingNode 300.22
   RotationOffset       137.45

   Albedo            0.77
}


Please tell me if there's anything wrong here to prevent Celestia from drawing Ptolemy and what I can do to make Astronomica to be closer to the star. :evil: Also, how do you get the greek letter alpha to appear in the star's name? :?: :?: :?:

NOTE: If you're wondering why the crud my star's name is Alpha Portal, let's just say that a comic I like to draw for my friends is called "The Portal". 8)

Goodnight

Posted: 12.09.2005, 02:58
by WildMoon
OK, time for bed then I'll wake up and goto school (darn). Hopefully someone will have a solution when I come home. 8)

Posted: 12.09.2005, 06:58
by Michael Kilderry
To get planet Ptolemy to work, try getting rid of the "{" in between the Radius and EllipticalOrbit parameters.

To make Astronomica closer to it's star, change the number to the right of "SemiMajorAxis" from 0.3871 to something lower, like 0.2871.

Does this help?

Posted: 12.09.2005, 21:43
by WildMoon
Okay, home from schoool, made some changes, I'll try it now.

Posted: 13.09.2005, 00:13
by WildMoon
It works! Well, ok, the planet after Ptolemy (Copernicus) won't show but I'll probably figure it out. Thanks for helping me get Ptolemy and it's moon geo to appear!

While observing Ptolemy, I discovered that it's moon seemed to always stay in the middle of the sunlight reaching Ptolemy. In other words if you were to stand on Ptolemy in the center of where the sun shines, the sun would not shine (you'd be in the shadow of Geo!)

In case I'm not making any sense (wouldn't blame, I can't figure how to word it right) then here's the code:

Code: Select all

"Ptolemy" "ALP Portal"
{
   Texture "callisto.jpg"
   Radius 3141.59265

   EllipticalOrbit {
      Period            0.6152
      SemiMajorAxis     0.314159265
      Eccentricity      0.0068
      Inclination       3.3947
      AscendingNode     76.681
      LongOfPericenter 131.533
           MeanLongitude    181.979
   }

   RotationPeriod    3.14159265
   Obliquity       178.78
   EquatorAscendingNode 300.22
   RotationOffset         0.

   Albedo            0.77
}

"Geo" "ALP Portal/Ptolemy"
{
   Texture "marsbump.jpg"
   Radius   314.
   # Oblateness 0.002

   EllipticalOrbit {
      Period          10.
      SemiMajorAxis    100000
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      50.
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.05
}



Try this on some star to see what I mean.

Meanwhile I will go back to working on my star.

Posted: 13.09.2005, 00:39
by WildMoon
:evil: I cannot seem to find out what's wrong with Copernicus and Helio dangit!!!

Code: Select all

"Copernicus" "ALP Portal"
{
   Texture "Planet (Water=50%, Land=50%)"
   NightTexture "earthnight.*"
   
   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
   # Oblateness 0.0034

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]
      Sunset [ 0.3 1.0 0.5 ]
      CloudHeight 7
      CloudSpeed 65
      CloudMap "earth-clouds.*"

   EllipticalOrbit {   
      Period            1.0000
      SemiMajorAxis     0.7926
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   100.464

   RotationPeriod   24. # 23.93419
   Obliquity        -23.45
   RotationOffset   0.    # offset at default epoch J2000

   Albedo            0.30
}

"Helio" "ALP Portal/Copernicus"
{
   Texture "Planet (Water=70%, Trees=20%, Mountains=10%).jpg"
   Radius   1737.53
   # Oblateness 0.002

   EllipticalOrbit {
      Period           0.50
      SemiMajorAxis    384400
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      24.   
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.25
}


Any help?

Posted: 13.09.2005, 01:40
by jestr
Hi Wildmoon,in the definition for Copernicus,you need to add a } after the atmosphere and before the EllipticalOrbit line,so it reads

Code: Select all

"Copernicus" "ALP Portal"
{
   Texture "Planet (Water=50%, Land=50%)"
   NightTexture "earthnight.*"
   
   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
   # Oblateness 0.0034

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]
      Sunset [ 0.3 1.0 0.5 ]
      CloudHeight 7
      CloudSpeed 65
      CloudMap "earth-clouds.*"
     }

   EllipticalOrbit {   
      Period            1.0000
      SemiMajorAxis     0.7926
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   100.464

   RotationPeriod   24. # 23.93419
   Obliquity        -23.45
   RotationOffset   0.    # offset at default epoch J2000

   Albedo            0.30
}

"Helio" "ALP Portal/Copernicus"
{
   Texture "Planet (Water=70%, Trees=20%, Mountains=10%).jpg"
   Radius   1737.53
   # Oblateness 0.002

   EllipticalOrbit {
      Period           0.50
      SemiMajorAxis    384400
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      24.   
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.25
}


Hope this helps,Jestr

Posted: 13.09.2005, 01:47
by WildMoon
DOOOOOOOH!!!

Dang, once again I failed to notice something about the { & } things. :oops:

Ok, I'll try.

Posted: 14.09.2005, 21:14
by WildMoon
Can planet textures be slightly smaller than usual? I drew two textures for Copernicus and Helio but they won't show and I've noticed that they're barely smaller than the other textures.

Posted: 14.09.2005, 21:18
by selden
They have to be a power-of-2 on a side:
1024x512, 128x128, etc.

"Barely smaller" won't work.

Posted: 14.09.2005, 21:54
by WildMoon
Thanks 8)

Posted: 15.09.2005, 01:36
by WildMoon
Noooooooo!!! My textures for Copernicus and Helio won't show up!!! They're exactly the same size as the other textures so why won't they work?!?!?!

Code: Select all

"Copernicus" "ALP Portal"
{
   Texture "Planet Class M #1.jpg"
   NightTexture "NightMap Planet Class M #1.jpg"
   
   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
   # Oblateness 0.0034

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]
      Sunset [ 0.3 1.0 0.5 ]
      CloudHeight 7
      CloudSpeed 65
      CloudMap "earth-clouds.*"
   }

   EllipticalOrbit {   
      Period            1.0000
      SemiMajorAxis     0.7926
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   100.464
   }

   RotationPeriod   24. # 23.93419
   Obliquity        -23.45
   RotationOffset   0.    # offset at default epoch J2000

   Albedo            0.30
}

"Helio" "ALP Portal/Copernicus"
{
   Texture "Planet Class M #2.jpg"
   NightTexture "NightMap Planet Class M #2.jpg"
   Radius   1737.53
   # Oblateness 0.002

   EllipticalOrbit {
      Period           0.50
      SemiMajorAxis    384400
      Eccentricity     0.054900
      Inclination      5.15
   }

   RotationPeriod      24.   
   Obliquity      23.45 # mean axis
   EquatorAscendingNode    0.0  # mean axis
   RotationOffset       38

   Albedo           0.25
}


In my next post I will display the four images for the planet and moon.

Posted: 15.09.2005, 01:45
by WildMoon
Oh and please don't try to make the solar system I'm making. 8) Since I'm still working on it (haven't given up yet, dang I'm stubborn sometimes) and also this solar system is cursed. :evil:

[img]E:\Program%20Files\Celestia\textures\medres\Planet%20Class%20M%20#1[/img]
[img]E:\Program%20Files\Celestia\textures\medres\NightMap%20Planet%20Class%20M%20#1[/img]
[img]E:\Program%20Files\Celestia\textures\medres\Planet%20Class%20M%20#2[/img]
[img]E:\Program%20Files\Celestia\textures\medres\NightMap%20Planet%20Class%20M%20#2[/img]

EDIT: Arrrrrrrrgggghgghhghghgghghgh!!! Why won't it show my images?!?!?! Blast this thing!!! :evil:

Posted: 15.09.2005, 10:19
by selden
Eliminate the spaces in the file names. They're string terminators. Use hyphens (-) or underscores(_) instead.

Also, leave out the cross-hatches (#). They have a special meaning in URLs: they're separators between filenames and labels within the files.

In general, it's best to use only letters and numbers in filenames. Windows lets you get away with all sorts of characters in filenames that always have been illegal in most circumstances.

Posted: 15.09.2005, 13:23
by buggs_moran
Your post will not show images stored on your home computer. You need to upload the to a free hosting site for images and make a link to them there. Try imageshack.us or flickr.com.

Posted: 15.09.2005, 21:03
by WildMoon
I'm gonna try this now.

Posted: 15.09.2005, 23:21
by WildMoon
http://img17.imageshack.us/my.php?image ... sm11gc.jpg
http://img17.imageshack.us/my.php?image ... sm16qq.jpg
http://img17.imageshack.us/my.php?image ... sm21it.jpg
http://img17.imageshack.us/my.php?image ... sm24wh.jpg

It still won't work when I changed the file names so here they are as pictures.

EDIT: :evil: Either Celestia hates me for some reason, or I'm very unlucky. :lol: :evil:

Posted: 15.09.2005, 23:50
by BrainDead
EDIT: :evil: Either Celestia hates me for some reason, or I'm very unlucky. :lol: :evil:

Wildmoon,

I think that you've gotten the source screwed up on the image shack web site.
You can copy the url's you've listed above into your browser, and you can
get to the images there via the url. When I looked at the coding which describes
the images on the image shack site itself, however, you have [img] tags
interspersed within the urls at image shack. Perhaps a little more careful
investigation of the way you submitted the images to image shack is in
order?

Just a thought... I could NOT get your images to display here in test messages
either, so it isn't the code you're using in your posts. It's the coding
you have associated with the images on image shack itself.

Does this make any sense?

Posted: 16.09.2005, 01:03
by WildMoon
Fixed!

Ok, so how do I make these textures show on Copernicus and Helio? (.ssc file text on page 1)

Posted: 16.09.2005, 19:32
by Fightspit
Image
Image
Image
Image

:wink: 8)