fbx-conv icon indicating copy to clipboard operation
fbx-conv copied to clipboard

the opacity is 0,if convert fbx export by maya2014

Open talentJian opened this issue 8 years ago • 4 comments

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"

talentJian avatar Dec 19 '16 02:12 talentJian

maybe ,maya opacity 0 mean the model is not alpha,but on libgdx it is.

talentJian avatar Dec 19 '16 02:12 talentJian

https://github.com/libgdx/libgdx/wiki/More-Info

xoppa avatar Dec 19 '16 20:12 xoppa

"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

talentJian avatar Feb 01 '17 11:02 talentJian

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?

mgsx-dev avatar Aug 21 '19 14:08 mgsx-dev