CesiumGS / obj2gltf

Convert OBJ assets to glTF
Apache License 2.0
1.68k stars 303 forks source link

Does the conversion process handle smoothing groups? #223

Open simonasdmd opened 4 years ago

simonasdmd commented 4 years ago

Does the conversion process handle smoothing groups? This is a model of a ball. I changed the smoothing group. Causes differences in the picture. image But after I converted the obj file to a GLB file. Normals don't reflect this. image

my data: ball.zip

lilleyse commented 4 years ago

obj2gltf does not support smoothing groups currently. Thanks for uploading the sample file this is support we may add in the future.

lilleyse commented 4 years ago

@simonasdmd if it's ok if this stays open? We may want to support smoothing groups in the future.

simonasdmd commented 4 years ago

ok~

PeteMatterfield commented 8 months ago

Jeez, 4 years? It's not a matter of choice. If there is a normal map on an unwrapped object that underwent normal projection, you need to support smoothing groups. I've went through tons of libraries to convert OBJ to GLB and this is the closest thing I can find. It's almost perfect except this issue which unfortunately renders it unusable.