CesiumGS / obj2gltf

Convert OBJ assets to glTF
Apache License 2.0
1.7k stars 305 forks source link

Color RGB Lost after obj2gltf conversion #186

Closed momokakadidi closed 5 years ago

momokakadidi commented 5 years ago

Hi githubers,

i have obj models with texture in format :: v X Y Z R G B With R belong [0,1], when i converted with obj2gltf. My new GLTF lacks colors and appair all in white color. After examinating the obj2gltf parser. Maybe, it does not take into account that format of obj model with colors alongside with vertexs coordinates... Any possible fix folks for that kind of issue??? Thanks, Momo

lilleyse commented 5 years ago

Yeah it doesn't take vertex colors into account yet. See https://github.com/AnalyticalGraphicsInc/obj2gltf/issues/102.