92 ALMaterial(
ALScene* alscene, aiMaterial* srcMaterial,
bool useVertexColor =
false);
102 std::string
convert(boost::filesystem::path expPath,
bool clearFile=
false);
113 void getTexturesInfo();
116 void getTexturesCount();
119 void manageTexturePath(
ALTextureData* texData, boost::filesystem::path expPath);
122 void buildData(
int count, aiTextureType type, std::vector<ALTextureData>& datas);
125 void buildSTexture();
128 void writeOgreScript(std::ostream& script, boost::filesystem::path expPath);
131 void writeTechnique(std::ostream& script, boost::filesystem::path expPath,
bool extended =
false,
bool basicscheme =
false);
134 void writePass(std::ostream& script, boost::filesystem::path expPath,
bool extended =
false);
137 void writeTextureUnit(std::ostream& script, boost::filesystem::path expPath,
bool extended =
false);
140 std::string getTextureName(
ALTextureData texData,
bool full,
bool& createTex);
143 STexture* createOrRetrieveTexture(std::string name, std::string path,
bool create);
145 STexture* createOrRetrieveTexture(std::string name, Ogre::Image image,
bool create);
152 bool mUseVertexColor;
155 bool mHaveAlphaDetails;
157 std::vector<ALTextureData> texInfo;
161 std::vector<STexture*> scolTex;
Contain the texture's meta-data.
aiTextureMapMode mapmode[3]
Contain the number of each type of texture possible.