Update Phobos & Deimos (mars) "CustomOrbit"

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 9 months
Location: france, divion

Update Phobos & Deimos (mars) "CustomOrbit"

Post #1by symaski62 » 16.09.2012, 10:15

:mrgreen: update "CustomOrbit" :)

:wink:


version old ...

Code: Select all

"Phobos:Mars I" "Sol/Mars"
{
   Mesh "phobos.cmod"
   Texture "phobos.*"
   Radius 13.0 # maximum semi-axis
   MeshCenter [ -0.233 -0.156 -0.168 ]

   EllipticalOrbit
   {
      Epoch       2455198      # 2010 Jan 1 12:00
      Period        0.31891023   # mean
      SemiMajorAxis  9377.2      # mean
      Eccentricity      0.0151   # mean
      Inclination       1.082      # mean
      AscendingNode    16.946
      ArgOfPericenter 157.116
      MeanAnomaly     271.138
   }

   BodyFrame { EquatorJ2000 {} }
   CustomRotation "iau-phobos"

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Inclination    37.10
   #    AscendingNode  47.68
   #    MeridianAngle  35.06
   # }

   Albedo         0.07
}

"Deimos:Mars II" "Sol/Mars"
{
   Mesh "deimos.cmod"
   Texture "deimos.*"
   Radius 7.9 # maximum semi-axis
   MeshCenter [ -0.299 -0.284 0.369 ]

   EllipticalOrbit
   {
      Epoch       2455198      # 2010 Jan 1 12:00
      Period            1.2624407    # mean
      SemiMajorAxis 23463.2      # mean
      Eccentricity     0.00033   # mean
      Inclination       1.791      # mean
      AscendingNode   318.370
      ArgOfPericenter 358.233
      MeanAnomaly     158.554
   }

   BodyFrame { EquatorJ2000 {} }
   CustomRotation "iau-deimos"

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Inclination    36.48
   #    AscendingNode  47.65
   #    MeridianAngle  79.41
   # }

   Albedo         0.08
}


version new update

new, CustomOrbit phobos & deimos :)
||
\/

Code: Select all

"Phobos:Mars I" "Sol/Mars"
{
   Mesh "phobos.cmod"
   Texture "phobos.*"
   Radius 13.0 # maximum semi-axis
   MeshCenter [ -0.233 -0.156 -0.168 ]
   
   CustomOrbit "phobos"  <=    NEW

   #EllipticalOrbit
   #{
   #   Epoch       2455198      # 2010 Jan 1 12:00
   #   Period        0.31891023   # mean
   #   SemiMajorAxis  9377.2      # mean
   #   Eccentricity      0.0151   # mean
   #   Inclination       1.082      # mean
   #   AscendingNode    16.946
   #   ArgOfPericenter 157.116
   #   MeanAnomaly     271.138
   #}

   BodyFrame { EquatorJ2000 {} }
   CustomRotation "iau-phobos"

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Inclination    37.10
   #    AscendingNode  47.68
   #    MeridianAngle  35.06
   # }

   Albedo         0.07
}

"Deimos:Mars II" "Sol/Mars"
{
   Mesh "deimos.cmod"
   Texture "deimos.*"
   Radius 7.9 # maximum semi-axis
   MeshCenter [ -0.299 -0.284 0.369 ]

        CustomOrbit "deimos"  <=    NEW

   #EllipticalOrbit
   #{
   #   Epoch       2455198      # 2010 Jan 1 12:00
   #   Period            1.2624407    # mean
   #   SemiMajorAxis 23463.2      # mean
   #   Eccentricity     0.00033   # mean
   #   Inclination       1.791      # mean
   #   AscendingNode   318.370
   #   ArgOfPericenter 358.233
   #   MeanAnomaly     158.554
   #}

   BodyFrame { EquatorJ2000 {} }
   CustomRotation "iau-deimos"

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Inclination    36.48
   #    AscendingNode  47.65
   #    MeridianAngle  79.41
   # }

   Albedo         0.08
}
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Return to “Development”