Now supporting multiple material per mesh. Simon changed glDrawElementsBaseVertex to glDrawElements in DrawFinalPass.cpp Hallelulijah!

This commit is contained in:
antc13
2016-01-19 17:40:34 +01:00
parent 2a3009212a
commit 3826142e94
15 changed files with 359 additions and 230 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ public:
bool Animations(std::string pathName, std::vector<AnimationInfo> animInfo);
private:
bool GetMeshData(MObject object);
bool GetMeshData(MObjectArray object);
bool GetMaterialData();
bool GetAnimationData(AnimationInfo info);
@@ -46,7 +46,7 @@ private:
WriteToFile m_MtrlFile;
//Mesh Data
std::vector<Mesh> meshes;
Mesh meshes;
//Animation Data
std::vector<BindPoseSkeletonNode> allBindPoses;