Hi Sukender, I merged your changes but when testing the loading of a 3ds model that used images stored alongside the model the images weren't found if I attempted to load the model from another directory other than the model directory. I revert the changes and the handling of relative paths worked once more.
# fails with your changes, but works with svn/trunk osgviewer model_directory/model_withimages.3dds # works with your changes and svn/trunk. cd model_directory osgviewer model_withimages.3dds Could you please look at this issue, and replace the new asserts you've added to the code, using better handling of exceptions. Robert. On Tue, Mar 8, 2011 at 1:28 PM, Sukender <[email protected]> wrote: > Hi Robert, > > Warning: This submission assumes my previous ones are integrated (See > "[osg-submissions] Tiny updates to 3DS plugin", feb 28). > Base rev: trunk 12207 > Commit message : Added support for texcoords scale and offset (UV scaling and > offset in Lib3DS Materials), for texture unit 0. > > Cheers, > > Sukender > PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ > > _______________________________________________ > 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
