obj2gltf icon indicating copy to clipboard operation
obj2gltf copied to clipboard

objLoader ignores smoothing groups declaration?

Open silvainSayduck opened this issue 7 years ago • 2 comments

Unless I am completely mistaken, the parseLine function in loadObj does not take into account smoothing groups (declared in the obj format with s [on|off|group_index]).

Is this intentional (because maybe unnecessary in this context) or a current limitation of the loadObj parser?

silvainSayduck avatar Jun 11 '18 12:06 silvainSayduck

You're right, the obj parser does not take into account smoothing groups. obj2gltf doesn't generate normals at the moment so it ignores them.

lilleyse avatar Jun 11 '18 13:06 lilleyse

Alright, thanks for the clarification! I'll use a pre-processing script for my OBJs for now then.

silvainSayduck avatar Jun 11 '18 13:06 silvainSayduck