3dsmax - Converting coordinates system for FBX model in OpenGL -
i load fbx models using autodesk fbx sdk2013.the models rotated 90 degrees on x-axis default. the sdk supplies method : fbxaxissystem::opengl.convertscene(scene); to perform axis conversion.but doesn't work.calling changes nothing.moreover,it seems fbx exporter uses opengl right hand sytem default,at least says on import: fbxaxissystem fbxaxis = scene->getglobalsettings().getaxissystem(); if (fbxaxis != fbxaxissystem::opengl) { //.... } returns false. don't understand;if opengl (right handed system,why models have z axis up? sdk bug? i found solution.someone here said convertscene() doesn't affect vertices array sets node global/local matrices.with these can transform node geometry or vertices. so here how done: fbxmatrix globaltransform = mesh->getnode()->getscene()->getevaluator()->getnodeglobaltransform( mesh->getnode()); dvec4 c0 = glm::make_vec4((double*) ...