I have a simple OSG file that references a few JPG and RGB textures. It
displays correctly. But when I build an OSGA archive containing the same
files, the textures cannot be found.

"osgarchive --list --archive scene.osga" reports:

List of files in archive:
    bank1.jpg
    comm1.jpg
    govt1.jpg
    low_apt1.jpg
    out.osg

Turning on notify=debug, "osgviewer scene.osga" reports:

  ...
  FindFileInPath() : trying F:\out\scene.osga\bank1.jpg ...
  Warning: could not find file "bank1.jpg"
  itr='out\buildings-pilot.osga'
  FindFileInPath() : trying F:\out\scene.osga\govt1.jpg ...
  Warning: could not find file "govt1.jpg"
  ...

What's the trick?  Thanks in advance. -gw
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to