Index: OpenSceneGraph/trunk/src/osgPlugins/3ds/WriterNodeVisitor.h
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/3ds/WriterNodeVisitor.h (revision 11056)
+++ OpenSceneGraph/trunk/src/osgPlugins/3ds/WriterNodeVisitor.h (revision 11194)
@@ -62,4 +62,5 @@
         void        failedApply();
         virtual void apply(osg::Geode &node);
+        virtual void apply(osg::Billboard &node);
 
         virtual void apply(osg::Group &node);
@@ -135,8 +136,9 @@
         *  Fill the faces field of the mesh and call buildMesh().
         *  \param geo is the geode who contain vertice and faces.
+        *  \param mat Local to world matrix applied to the geode
         *  \param listTriangles contain all the meshs faces.
         *  \param texcoords tell us if we have to treat texture coord.
         */
-        void buildFaces(osg::Geode & geo, ListTriangle & listTriangles, bool texcoords);
+        void buildFaces(osg::Geode & geo, const osg::Matrix & mat, ListTriangle & listTriangles, bool texcoords);
 
         /** 
@@ -150,14 +152,15 @@
         *  Build a mesh
         *  \param geo is the geode who contain vertice and faces
+        *  \param mat Local to world matrix applied to the geode
         *  \param index_vert is the index used to build the new mesh
         *  \param texcoords tell us if we have to treat texture coord
         *  \param mesh is the mesh with faces filled
-        *  \return the place of the box in the vector.
         *  \sa See cutScene() about the definition of the boxes for faces sorting.
         */
         void
-        buildMesh(osg::Geode        &    geo, 
-                  MapIndices        &    index_vert, 
-                  bool                   texcoords,        
+        buildMesh(osg::Geode        &    geo,
+                  const osg::Matrix &    mat,
+                  MapIndices        &    index_vert,
+                  bool                   texcoords,       
                   Lib3dsMesh             *mesh);
 
@@ -193,4 +196,5 @@
         typedef std::map< osg::ref_ptr<osg::StateSet>, Material, CompareStateSet> MaterialMap;
 
+        void apply3DSMatrixNode(osg::Node &node, const osg::Matrix & m, const char * const prefix);
 
         bool                                _suceedLastApply;
