Show
Ignore:
Timestamp:
04/15/10 13:49:33 (4 years ago)
Author:
robert
Message:

From Sukender, "After discussion with Paul Martz, here is a fix for 3DS reader/writer (on rev. 11315) + some changes. Changelog:

- Fixed handling of MatrixTransforms? (still doesn't support other Transforms types). Fixes things for OSG, DeepExploration?, 3DSMax...
- Added support for writing double precision vertices by converting them.
- Added base code for future compatibility option (3rd-party apps that don't read animation data). See "DISABLE_3DS_ANIMATION" compile flag."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/3ds/WriterNodeVisitor.h

    r11203 r11331  
    66* Copyright (C) ??? 
    77* 
    8 * Writing support added 2007 by Sukender (Benoit Neil), http://sukender.free.fr, 
     8* Writing support added 2009 by Sukender (Benoit Neil), http://sukender.free.fr, 
    99* strongly inspired by the OBJ writer object by Stephan Huber 
    1010* 
     
    194194        typedef std::map< osg::ref_ptr<osg::StateSet>, Material, CompareStateSet> MaterialMap; 
    195195 
    196         void apply3DSMatrixNode(osg::Node &node, const osg::Matrix & m, const char * const prefix); 
     196        void apply3DSMatrixNode(osg::Node &node, const osg::Matrix * m, const char * const prefix); 
    197197 
    198198        bool                                _succeeded;