Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the opacity is 0,if convert fbx export by maya2014 #101

Open
talentJian opened this issue Dec 19, 2016 · 4 comments
Open

the opacity is 0,if convert fbx export by maya2014 #101

talentJian opened this issue Dec 19, 2016 · 4 comments

Comments

@talentJian
Copy link

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
Copy link
Author

talentJian commented Dec 19, 2016

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

@xoppa
Copy link
Member

xoppa commented Dec 19, 2016

@talentJian
Copy link
Author

"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

@mgsx-dev
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants