Hi Bin, It does sound like the osgDB::findFileInDirectory() is not working correctly under iOS. Pinging the osg-users mailing list/forum calling for feedback from those with iOS experience would probably be useful to untangle what might be going on.
Robert. On 2 June 2015 at 00:01, Bin Chen <[email protected]> wrote: > Hi Robert, > > I attached my temporary fix for my project about this issue. > > That is not a good solution, and the latest svn/trunk code has been changed > so I should not commit my change. > Need more time to investigate the problem. > > The texture file is stored in the same directory as the 3ds file and it > doesn't have this problem in Windows, MacOS, Linux, WinCE and Android. Only > in iOS 8.3. > > When I have time i would like to check the osgDB::findFileInDirectory since > it should find the texture file at the first place. > > Cheers. > > Bin > > > On Mon, Jun 1, 2015 at 10:12 PM, Robert Osfield <[email protected]> > wrote: >> >> Hi Bin, >> >> I do see any attachment so can't review any changes. Could you post >> the full modified file, and if possible a 3ds model that recreates the >> problem. >> >> I would like to track down why this might be a iOS specific issue. >> >> Cheers, >> Robert. >> >> On 21 May 2015 at 07:33, Bin Chen <[email protected]> wrote: >> > Hi, Robert, >> > >> > Fixed a bug in 3.2 branch for iOS 8.3: >> > >> > In iOS 8.3, osg can not load 3ds texture file if the file is in the same >> > directory of the .3ds file. >> > >> > It is in src/osgPlugins/3ds/ReaderWriter3DS.cpp line 1199- line 1120. >> > >> > Do you need me to push to a branch: fix/iOS/load3dsTexture? >> > The attachment is the code change screen shot. >> > >> > And thanks for you guys' work my project can now run on Android, iOS, >> > WinCE >> > 7 smoothly so far:> >> > >> > Cheers. >> > >> > Bin >> > >> > >> > _______________________________________________ >> > osg-submissions mailing list >> > [email protected] >> > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> > >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
