9 #include "imstkTexture.h" 10 #include "imstkMath.h" 38 const std::string& objName,
39 const std::string& modelFilePath,
40 const std::string& textureFolderPath,
41 const Mat4d& transform = Mat4d::Identity());
47 static std::shared_ptr<Texture> createTexture(std::string textureFolderPath, std::string textureFilePath,
Texture::Type textureType);
52 static std::shared_ptr<RenderMaterial> readMaterial(aiMaterial* mat, std::string textureFolderPath);
61 static std::string getSubstringGivenString(
62 const std::string& input,
63 const std::string& delimiter,
64 const bool lastInstance =
false);
Type
Texture type - determines filtering.
static std::shared_ptr< SceneObject > importSceneObject(const std::string &objName, const std::string &modelFilePath, const std::string &textureFolderPath, const Mat4d &transform=Mat4d::Identity())
Import a scene object.
ObjectIO provides SceneObject reading capabilities It is used to read complex visual objects or anima...