Implemented KRContext::getResources

FBX Importing toolchain now detects need for vertex tangent vectors based on presence of Normal maps, and only imports them when needed.  If tangent vectors are needed, but not present in the FBX file, they are calculated during the import process.  Importing tangents increases the size of the vertex data and reduces the ability to share vertexes for multiple faces when using indexed triangle rendering; therefore, they are imported sparingly.
This commit is contained in:
2013-05-06 12:58:57 -07:00
parent cfa1f35088
commit 8be1aff1ba
11 changed files with 118 additions and 22 deletions

View File

@@ -72,6 +72,8 @@ public:
long getAbsoluteTimeMilliseconds();
std::vector<KRResource *> getResources();
private:
KRBundleManager *m_pBundleManager;
KRSceneManager *m_pSceneManager;