HD 209458 b mie issue

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 2 months
Location: Indiana, United States

HD 209458 b mie issue

Post #1by Hungry4info » 17.01.2008, 18:41

I tried giving HD 209458 b an atmosphere with mie settings. It didn't work. I added another planet, identical to it except for a small change in inclination. Mie works on one, but not the other. Here is what I get in Celestia.

Image

And the relevant STC...

Code: Select all

"b" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0
      Inclination     71.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      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 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}

"c" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0.0
      Inclination     75.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      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 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}


I have no idea what's going on here :(
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #2by ajtribick » 17.01.2008, 20:12

You didn't use the Replace modifier in the SSC file.

Thus there are two copies of planet b in the same position and hence the weirdness.

Use the following:

Code: Select all

Replace "b" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0
      Inclination     71.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      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 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}

"c" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0.0
      Inclination     75.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      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 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}

Avatar
Topic author
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 2 months
Location: Indiana, United States

Post #3by Hungry4info » 18.01.2008, 00:03

Ah! Yes, thank-you very much.
Haha, silly newbish mistake. :lol:
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics


Return to “Bugs”