I represent a mesh from Autodesk 3D Studio.
from3DS:
collectSplitVertices:
Collect the non smooth vertices into a Dictionary vertex index -> Dictionary smoothing group -> list of face indexes.
computeFunkyVertexNormals
Compute the vertex normals for the receiver. Don't split the faces so we'll get some funky lighting effects.
computeVertexNormals
Compute the vertex normals for the receiver. Note: This is a multi pass process here - we may have to split up vertices
detectNonSmoothVertices
Detect all the vertices in the receiver that cannot be easily smoothed
splitVerticesFrom:
Split the non smooth vertices from the Dictionary vertex index -> Dictionary smoothing group -> list of face indexes.