The fix I submitted keeps the findDataFiles and simply us the path as given if findDataFiles fails this is enough to all URI to be used directly and not break any other working path formats
While it may be better thing to have the reader convert paths to URI that's a bit trickier and current dead lines don't allow me the time to do this This works for us for now and also by submitting it we are complying with the license etc ;) Gordon -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger James Sent: Monday, November 19, 2007 9:57 AM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Collada plugin DAE flaws > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:osg-users- > [EMAIL PROTECTED] On Behalf Of Gordon Tomlinson > Sent: 19 November 2007 13:35 > To: 'OpenSceneGraph Users' > Subject: Re: [osg-users] Collada plugin DAE flaws > > I have a fix that allows URI's to be used > > I have gone for the quick fix in that I'm not converting a UNC to a > URI ( as that could get messy ) > > But the loader now works with a URI > > > I'll post to submissions shortly > > Gordon > > [Roger James] Robert, Gordon, I am not sure if we should be allowing URIs to be passed through the osg plugin interface. My interpretation is that the filename parameter of the interface should contain a valid filename format for the local system. I think most of the other plugins expect this. The dae plugin should then convert this to a URI that is acceptable (this means it does not have to be a full URI) for passing through the collada api. It is chance at the moment that the collada api accepts relative Unix style path names as valid URIs. What is your view on this Robert? This would mean that we can leave the call to findDataFiles() in the reader path so that the behaviour is the same as most of the other plugins. However findDataFiles _may_ need looking at to ensure it can handle all the valid file name formats for the system it is running on (e.g. UNC formats on windows). Roger _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org