Official Open Asset Import Library Repository. Loads 40+ 3D file formats into one unified and clean data structure.
kimkulling on fix_memleak_in_xmlparser
kimkulling on master
Fix a memory leak Merge branch 'master' into kimk… Merge pull request #4605 from a… (compare)
kimkulling on fix_memleak_in_xmlparser
Fix GNUC check on Windows Fix GNUC check on Windows (2nd … Merge branch 'master' into mast… and 19 more (compare)
kimkulling on fix_memleak_in_xmlparser
Fix a memory leak (compare)
map_Kd -s 4.000000 4.000000 1.000000 baseColor.png
aiUVTransform uvTransform;
unsigned int max = sizeof(aiUVTransform) / sizeof(ai_real);
if (AI_SUCCESS != aiGetMaterialFloatArray(mat, AI_MATKEY_UVTRANSFORM(aiTextureType_DIFFUSE, 0),
(float*)&uvTransform, &max))
{
std::cout << "Failed to retrieve UV information from material in texture \"" << path
<< "\". Result:" << aiGetMaterialFloatArray(mat, AI_MATKEY_UVTRANSFORM(aiTextureType_DIFFUSE, 0),
(float*)&uvTransform, &max) << '\n';
}
std::cout << "S=" << uvTransform.mScaling.x << ", " << uvTransform.mScaling.y
<< " T=" << uvTransform.mTranslation.x << ", " << uvTransform.mTranslation.y
<< " R=" << uvTransform.mRotation << '\n';
S=30, 30 T=0, 29 R=0
. The scaling is correct, except it isn't supposed to have any translation, idk where the "29" comes from:"extensions": {
"KHR_texture_transform": {
"offset": [
0,
0
],
"scale": [
30,
30
],
"texCoord": 0
}
}
aiMesh
has mAnimMeshes
which I believe is just an array of the translated mesh, but docs say its not in use?
contrib/zlib/CMakeFiles/zlibstatic.dir/compiler_depend.make:4: *** multiple target patterns. Stop.
when I try to compile ASSIMP. However, if I manually go into the zlib directory and run cmake then make it works fine and compiles without multiple target patterns. Anyone here know how to fix this multiple target patterns issue?