aerys / minko-collada

Collada file format extension for Minko
http://minko.io
MIT License
14 stars 7 forks source link

vertex colors are missing #5

Closed loudoweb closed 12 years ago

loudoweb commented 12 years ago

I've put vertex color in my collada file from maya and I can't get them in my application. I have only these 4 components for all my meshes : id x,y,z nx,ny,nz u,v

So, the RGBA component is missing from the application.

I made my test with the same file in Collada format and in Minko format and I have the same result.

Please see the details here : http://answers.aerys.in/discussion/209/using-vertex-color#Item_11

JMLX42 commented 12 years ago

Can you try to uncomment

TO_COMPONENT[COLOR] = VertexComponent.RGBA;

in aerys.minko.type.parser.collada.enum.InputType and tell me if the VertexComponent.RGBA loads ?

Thanks,

loudoweb commented 12 years ago

it works ! thanks !