Open talentJian opened 7 years ago
maybe ,maya opacity 0 mean the model is not alpha,but on libgdx it is.
"materials": [ { "id": "TanksScene:TankColour", "ambient": [ 0.000000, 0.000000, 0.000000], "diffuse": [ 0.109395, 0.607843, 0.107266], "emissive": [ 0.000000, 0.000000, 0.000000], "opacity": 0.000000, "specular": [ 0.500000, 0.500000, 0.500000], "shininess": 6.311791 }, { "id": "TanksScene:TankGrey", "ambient": [ 0.588235, 0.588235, 0.588235], "diffuse": [ 0.128206, 0.128206, 0.128206], "emissive": [ 0.000000, 0.000000, 0.000000], "opacity": 0.000000, "specular": [ 0.000000, 0.000000, 0.000000], "shininess": 6.311791 }, { "id": "TanksScene:TankLights", "ambient": [ 0.000000, 0.000000, 0.000000], "diffuse": [ 1.000000, 1.000000, 1.000000], "emissive": [ 0.000000, 0.000000, 0.000000], "opacity": 0.000000, "specular": [ 0.500000, 0.500000, 0.500000], "shininess": 6.311791 } ],
look,if i use fbx-convert to convert fbx which maya export,the opacity is 0.0000
i know it's pretty old but i tested with a FBX file from Maya and opacity is fine with master branch.
i guess because of fix #94 which is not part of latest fbx-conv release.
@talentJian maybe you can provide your original FBX file in order to confirm?
I found a problem,sames model,Export from Maya and convert to g3dj,the materials atrribute "opacity " is "0.00",if export by 3dMax and convert to g3dj thats "1.000"