Hi Colin and Robert,
If I understand well, you've removed the code specially added in lib3ds for OSG?
If so, that's good news because we would be sync with lib3ds.
--
Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
Le Thu, 15 Apr 2010 21:41:06 +0300, Robert Osfield <[email protected]> a
écrit:
Thanks Colin, type of changes I like - less code and less bugs ;-)
Changes now merged and submitted to svn/trunk.
On Thu, Apr 15, 2010 at 2:41 PM, Colin McDonald
<[email protected]> wrote:
Hi Robert,
The new 3ds plugin isn't working at all on big-endian machines, due to
a byte order issue.
The problem is that osg::SwapBytes code has been copied from the old
plugin to the new one, but the latest lib3ds also incorporates code to
handle byte ordering in read & writing. So the net result is that the
swap is done twice.
The solution is simply to remove the custom osg code, and use the
stock lib3ds code. The attached files are against today's revision
11331. I've tested on Sparc & Intel.
Regards
Colin McDonald
_______________________________________________
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