]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/SGMaterialAnimation.hxx
Work around apparent OSG 3.2.0 normal binding bug.
[simgear.git] / simgear / scene / model / SGMaterialAnimation.hxx
index 0bae0084712a1632b9dd54edc3ce01aa2d455d8b..bb62e83bc686c75bbf21b0ffb46a9d81099a139b 100644 (file)
@@ -12,6 +12,7 @@
 #endif
 
 #include <osg/Material>
+#include <osgDB/ReaderWriter>
 #include "animation.hxx"
 
 //////////////////////////////////////////////////////////////////////
 class SGMaterialAnimation : public SGAnimation {
 public:
   SGMaterialAnimation(const SGPropertyNode* configNode,
-                      SGPropertyNode* modelRoot);
+                      SGPropertyNode* modelRoot,
+                      const osgDB::Options* options,const std::string &path);
   virtual osg::Group* createAnimationGroup(osg::Group& parent);
   virtual void install(osg::Node& node);
+  static SGPropertyNode_ptr makeEffectProperties(const SGPropertyNode* animProp);
 private:
   osg::ref_ptr<osg::Material> defaultMaterial;
   osg::Vec4 defaultAmbientDiffuse;
+  osgDB::FilePathList texturePathList;
 };
 
 #endif // _SG_MATERIALANIMATION_HXX