CesiumGS / obj2gltf

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

Convert without loss of quality #204

Open tomfree opened 5 years ago

tomfree commented 5 years ago

When converting my sample obj it had ~11k positions in the resulting mesh whereas the original had ~ 45k positions, resulting in edges instead of the round shapes as the original. Can this be prevented or is this indeed an issue?

lilleyse commented 5 years ago

It's possible it's a bug. Are you able to share the obj?

tomfree commented 5 years ago

Unfortunately not the object itself. Can I get you something else to help on it. Would also be available to show you via zoom if you want.

lilleyse commented 5 years ago

You can also email it to me at sean@cesium.com if you can't share it publicly here.

tomfree commented 5 years ago

done. You should have in your inbox

lilleyse commented 5 years ago

@tomfree I imported the model into Blender and it has around the same number of faces as the gltf from obj2gltf. The glTF also looks the same as in Blender, with hard edges in some places.

Are you sure the obj you used is the higher detail version?