How to get a smooth rendering of an .obj?

I have an .obj that looks smooth when i preview it on my computer (finder on macOS). However when loading it in three.js I can’t find a way to render it smooth. It still has flat faceted sides. I’ve tried using BufferGeometryUtils.mergeVertices() and computeVertexNormals() but so far no luck.

Here is a demo showing the issue:

This may be similar to the discussion here: How to smooth an OBJ with threejs? - #12 by Laubeee

1 Like

You have to delete the existing normal attribute before merging vertices. After that computeVertexNormals() should work as expected: Edit fiddle - JSFiddle - Code Playground

4 Likes