George Neil
George Neil

Reputation: 367

How to get smooth shading?

Using XTK, I tried to load an STL file. The shading is NOT smooth. What all modifications I need to do to get smooth shading?

Upvotes: 0

Views: 656

Answers (1)

haehn
haehn

Reputation: 967

XTK doesn't re-calculate the normals (yet). Since the .STL only has face normals and no vertex normals, it won't be smooth

you can convert the model to a .vtk file which supports vertex normals.

also, you are welcome to contribute the normals calculation code :) for freesurfer meshes, the normals get recalculated so all the pieces should be there

Upvotes: 1

Related Questions