Problem I cannot Find.

Report bugs, bug fixes and workarounds here.
Topic author
BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Problem I cannot Find.

Post #1by BobHegwood » 20.03.2008, 16:16

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
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

CAP-Team
Posts: 194
Joined: 27.12.2006
Age: 49
With us: 17 years 11 months
Location: Vriezenveen, the Netherlands
Contact:

Post #2by CAP-Team » 20.03.2008, 19:05

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.
Windows 7 Ultimate x64, Intel Core i7 2600K 3.4 Ghz, 4 GB RAM, 120 GB SSD + 1 TB hdd, nVidia GTX460 1 GB, Celestia 1.6.0.xxxx
Download my latest SVN Build

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

Post #3by selden » 20.03.2008, 20:44

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
Selden

Topic author
BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Post #4by BobHegwood » 20.03.2008, 20:55

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:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

bdm
Posts: 461
Joined: 22.07.2005
With us: 19 years 4 months
Location: Australia

Re: Problem I cannot Find.

Post #5by bdm » 21.03.2008, 00:11

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?

Topic author
BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Post #6by BobHegwood » 21.03.2008, 03:58

See the continuing discussion HERE.

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

Thanks, Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN


Return to “Bugs”