Hi Robert, I'm sorry I can't reproduce your issue. I tried to load "dir/model.3ds" (images are located in "dir"), and it works well. I also tried a full path (under Windows: "C:/Test/dir/model.3ds"), and that's okay too. Where are your images located? Am I wrong somewhere? Should I get latest trunk rev for the whole OSG project? Can you provide your test model?
Thank you. Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ ----- "Sukender" <[email protected]> a écrit : > Hi Robert, > > Of course I will check this ASAP. Thanks for feedback. > > Sukender > PVLE - Lightweight cross-platform game engine - > http://pvle.sourceforge.net/ > > ----- "Robert Osfield" <[email protected]> a écrit : > > > 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 > _______________________________________________ > 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
