Yang
Yang

Reputation: 9962

three.js convert_obj_three.py normals are missing

When converting from .obj file to .js file for use with three.js, the script convert_obj_three.py doesn't export normals.

How can I get the normals?

Upvotes: 0

Views: 264

Answers (1)

Yang
Yang

Reputation: 9962

When exporting the model, blender has an option to include normals, check the box will do. OR using three.js

geometry.computeVertexNormals()

to compute the normal.

Upvotes: 1

Related Questions