Page 1 of 1

Cel. 1.6 rc1: extras-standard models not found from extras

Posted: 19.04.2009, 13:18
by selden
In Celestia v1.6, Mesh objects which are defined by an Addon in extras-standard are not found when they're referenced by Addons in extras. They should be.

For example, when the SSC file below is placed in extras, the ISS model is not drawn for the object "1998-067a"
(For this project, I am comparing several different orbit definitions for the ISS, so I can't simply use a Modify directive. User addons shouldn't be put in extras-standard, since it is intended for objects defined in the Celestia distribution kit.)

Code: Select all

# ISS TLE (two line element)
# provided by Dr. T.S. Kelso of celestrak.com
# translated to Celestia EllipticalOrbit parameters by s. ball
# using tle.xls, written by Grant Hutchison

#1 25544U 98067A   06133.99458131  .00018604  00000-0  12453-3 0  9293
#2 25544  51.6364   3.5106 0009638 195.7393 245.3594 15.75290053427771

"1998-067A" "Sol/Earth" {      
  Class "spacecraft"      
   Mesh "iss.cmod"       
  Radius  0.040
      
  EllipticalOrbit {      
    Epoch  2453869.49458131      # 2006 may 13 23:52:12
    Period  0.06348037      
    SemiMajorAxis  6721.936      
    Eccentricity  0.0009638      
    Inclination  51.6364      
    AscendingNode  3.5106      
    ArgOfPericenter  195.7393      
   MeanAnomaly  245.3594      
  }      

    UniformRotation
    {
        Inclination    51.5684
        MeridianAngle  -90
        AscendingNode 343.1518
    }

    Orientation [ 90 0 0 1 ]

    Albedo        0.10
}      


I'll be adding this to the bugs tracker on SourceForge.

Re: models in extras-standard are not found from extras

Posted: 19.04.2009, 18:43
by Guckytos
selden wrote:In Celestia v1.6, Mesh objects which are defined by an Addon in extras-standard are not found when they're referenced by Addons in extras. They should be.

For example, when the SSC file below is placed in extras, the ISS model is not drawn for the object "1998-067a"
(For this project, I am comparing several different orbit definitions for the ISS, so I can't simply use a Modify directive. User addons shouldn't be put in extras-standard, since it is intended for objects defined in the Celestia distribution kit.)

Interesting! :? Where are the users told that they should do that? When and why was that decided?

If you do something like this, then you have document it somewhere, so the user knows about it. Especially a new user that is for the first time adding an addon.

So, please put that advise in the README.

Best regards,

Christian

Re: models in extras-standard are not found from extras

Posted: 19.04.2009, 18:59
by selden
ChrisL made that change a while ago. I think he should write about it. He won't be able to respond for a few days, though.

Re: models in extras-standard are not found from extras

Posted: 19.04.2009, 23:08
by BobHegwood
selden wrote:ChrisL made that change a while ago. I think he should write about it. He won't be able to respond for a few days, though.

I was also confused by this setup, but the standard placement of add-on
components in the normal "extras" folder still works as it always has. :wink:

At least as far as I have been able to determine.

Thanks, Brain-Dead