Celestia Limitations Maybe

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: Celestia Limitations Maybe

Post #1by Fenerit » 10.08.2012, 23:09

Maybe you should use the statements below:

FixedRotation
{
Inclination <degrees>
AscendingNode <degrees>
MeridianAngle <degrees>
}

or

UniformRotation
{
Period <hours>
Inclination <degrees>
AscendingNode <degrees>
MeridianAngle <degrees>
Epoch <date>
}

RotationPeriod 0 is dangerous... :wink:
Never at rest.
Massimo

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Re: Celestia Limitations Maybe

Post #2by selden » 11.08.2012, 13:08

RotationPeriod specifies how long it takes an object to turn around once. As a result,
RotationPeriod 0
means that it has to complete one rotation in no time at all -- spinning infinitely fast. If you don't want an object to rotate, using a FixedRotation block as Fenerit suggests will make an object be fixed in place relative to its BodyFrame.

Also, as you may already know, Celestia does not draw an object at all if it is 1LY or more from a light source (from a Star).
Selden

Avatar
Topic author
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: Celestia Limitations Maybe

Post #3by Fenerit » 11.08.2012, 21:25

The Wiki page is named Rotation models
Within your SSC, the statement's blocks for rotation models are nested as follows (FixedRotation example):

Code: Select all

"USS Cantell NCC-74851 Observing Experiment" "72 Her"
{
Class "spacecraft"
Mesh "Usscantellncc74851.cmod"
Radius 0.345
EllipticalOrbit {
Period 2
SemiMajorAxis 36401
Eccentricity 0.89
Inclination 40
AscendingNode 14
LongOfPericenter 27
MeanLongitude 34
}

FixedRotation
{
   Inclination <degrees>
   AscendingNode <degrees>
   MeridianAngle <degrees>
}

Albedo 0.25
}
Never at rest.
Massimo


Return to “Add-on development”