Menu

#200 Mac (at least) can't load A380 due to .3ds file usage

WontFix
nobody
Mac (38) OSG (57)
2011-06-05
2010-12-09
Anonymous
No

Originally created by: zakalawe@mac.com
Originally owned by: zakalawe@mac.com

What steps will reproduce the problem?
1. Load the A380
2. Observe lack of wings, cockpit

Relevant error output:

found path:Aircraft/A380/XML/A380.xml via /sim/aircraft-dir: /Users/Shared/FGFS/data/Aircraft/A380/XML/A380.xml
found path:Aircraft/A380/XML/Wings/wings.xml via /sim/aircraft-dir: /Users/Shared/FGFS/data/Aircraft/A380/XML/Wings/wings.xml
Failed to load submodel: Failed to load 3D model:
    from:/Users/Shared/FGFS/data/Aircraft/A380/XML/Wings/../../Models/Wings/wings.3ds
found path:Aircraft/A380/XML/htp.xml via /sim/aircraft-dir: /Users/Shared/FGFS/data/Aircraft/A380/XML/htp.xml
Failed to load submodel: Failed to load 3D model:
    from:/Users/Shared/FGFS/data/Aircraft/A380/XML/../Models/htp.3ds

I.e the wrapper XML files are being found, but the resolve to the 3ds file is failing. The path is valid (when used in the shell), but it seems that although SGpath considers the target .3ds file to exist, osgDB::findDataFile *does not*, instead returning 'File not found'

Related

Tickets: #147
Tickets: #194

Discussion

  • Anonymous

    Anonymous - 2010-12-11

    Originally posted by: zakalawe@mac.com

    Just implemented a path simplifier in SimGear, to convert such paths to a simpler form. This made exactly zero difference to this bug:

    found path:Aircraft/A380/XML/Wings/wings.xml via /sim/aircraft-dir: /Users/Shared/FGFS/data/Aircraft/A380/XML/Wings/wings.xml
    original model path:/Users/Shared/FGFS/data/Aircraft/A380/XML/Wings/../../Models/Wings/wings.3ds
    simplified:/Users/Shared/FGFS/data/Aircraft/A380/Models/Wings/wings.3ds
    Failed to load submodel: Failed to load 3D model:
        from:/Users/Shared/FGFS/data/Aircraft/A380/Models/Wings/wings.3ds

    Note the osgDB error is 'file not found', but the file exists, is readable and so on.

     
  • Anonymous

    Anonymous - 2010-12-11

    Originally posted by: zakalawe@mac.com

    (No comment was entered for this change.)

    Summary: Mac (at least) can't load A380 due to .3ds file usage

     
  • Anonymous

    Anonymous - 2010-12-11

    Originally posted by: frbo... (code.google.com)@gmail.com

    Can't reproduce that one on Windows. Do you have the 3ds osg plugin available ? Does the model load with fgrun ?

     
  • Anonymous

    Anonymous - 2010-12-11

    Originally posted by: zakalawe@mac.com

    No, and the issue may indeed be related to a missing .3ds plugin - I'm having other OSG issues, but I suspect you're absolutely correct. Will update here once I've tested with a 3ds plugin available. I am fairly surprised that OSG reports a missing *plugin* the same way as if the data file was not found - I was assuming we'd get a 'no plugin found' error.

     
  • Anonymous

    Anonymous - 2010-12-12

    Originally posted by: zakalawe@mac.com

    With a suitable osg_3ds plugin, the A380 works fine on Mac. I suspect this is a packaging issue with the official Mac release, since most models don't use 3ds.

    Status: Done

     
  • Anonymous

    Anonymous - 2010-12-12

    Originally posted by: zakalawe@mac.com

    (No comment was entered for this change.)

    Status: WontFix

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Temp

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: WontFix

     

Log in to post a comment.

MongoDB Logo MongoDB