Page 1 of 1

Problem I cannot Find.

Posted: 20.03.2008, 16:16
by BobHegwood
Sorry to bother, but is there a problem I'm missing in the
SSC file below? This is from Jestr's A-Wing Fighter which is one
of the add-ons at the Motherlode.

If I simply replace this ssc file with another one, I can view the A-Wing
with no problem. However, I haven't quite figured out what the
problem is here. Anyone see anything wrong? The spacecraft
simply does NOT show up in orbit around Endor. Nor can I find it
anywhere within the Rho Crb system.

Code: Select all

"A-Wing" "HD 143761/Endor"
{
        Class "spacecraft"
        Mesh "Awing.3ds"
        Color [ 0 0 0 ]
        Radius 0.03

        EllipticalOrbit {
        Period        0.2
        SemiMajorAxis 6501
        MeanAnomaly  120
        }
        Orientation [ 90 0 1 0 ]
        Albedo 1.0
}


Thanks, Brain-Dead

Posted: 20.03.2008, 19:05
by CAP-Team
Well I'm missing the eccentricity, inclination and arg of pericenter for the orbit. I don't think the ssc file contains enough data to be able to calculate an orbit.

Posted: 20.03.2008, 20:44
by selden
Celestia requires only that SemiMajorAxis and Period be specified. The other fields have "reasonable" defaults. These are spelled out in detail in the WikiBook at http://en.wikibooks.org/wiki/Celestia/S ... ers..._.7D

Posted: 20.03.2008, 20:55
by BobHegwood
selden wrote:Celestia requires only that SemiMajorAxis and Period be specified. The other fields have "reasonable" defaults. These are spelled out in detail in the WikiBook at http://en.wikibooks.org/wiki/Celestia/S ... ers..._.7D


As always, Selden, Thanks. I have been so busy lately that I almost
forgot that we even had a WikiBook site. :oops:

Re: Problem I cannot Find.

Posted: 21.03.2008, 00:11
by bdm
BobHegwood wrote:Sorry to bother, but is there a problem I'm missing in the
SSC file below? This is from Jestr's A-Wing Fighter which is one
of the add-ons at the Motherlode.

If I simply replace this ssc file with another one, I can view the A-Wing
with no problem.
Can you post this SSC file that we may compare them?
BobHegwood wrote:However, I haven't quite figured out what the
problem is here. Anyone see anything wrong? The spacecraft
simply does NOT show up in orbit around Endor. Nor can I find it
anywhere within the Rho Crb system.

Code: Select all

"A-Wing" "HD 143761/Endor"
{
        Class "spacecraft"
        Mesh "Awing.3ds"
        Color [ 0 0 0 ]
        Radius 0.03

        EllipticalOrbit {
        Period        0.2
        SemiMajorAxis 6501
        MeanAnomaly  120
        }
        Orientation [ 90 0 1 0 ]
        Albedo 1.0
}


Thanks, Brain-Dead


Possible issues:
* File name of mesh may be incorrect. If you are running on a system with case-sensitive filenames, the mesh won't appear. The location will still be there but the mesh will be invisible.
* What is the radius of Endor? If Endor has a radius greater than the semimajor axis the spacecraft will appear inside the planet.
* You have an Albedo of 1. It is better have an albedo between 0 and 1. I suggest a value of 0.5 until you tweak this.
* I cannot find Orientation in the documentation. How does this work?

Posted: 21.03.2008, 03:58
by BobHegwood
See the continuing discussion HERE.

Still trying to figure it out with Selden's help.

Thanks, Bob