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

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

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

Post #1by selden » 19.04.2009, 13:18

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.
Selden

Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

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

Post #2by Guckytos » 19.04.2009, 18:43

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

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

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

Post #3by selden » 19.04.2009, 18:59

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.
Selden

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

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

Post #4by BobHegwood » 19.04.2009, 23:08

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
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”