graphics - Calculating Vertex Normals of a mesh -
this question has answer here:
- calculating normals in triangle mesh 3 answers
i have legitimately done every research possible this, , says calculate surface normals of each adjacent face. calculating surface normals easy, how heck find adjacent faces each vertex? kind of storage use? missing something? why easy everyone.
any guidance appreciated.
but how heck find adjacent faces each vertex?
think otherway round: iterate on faces , add normal of vertex. once processed faces, normalize vertex normal unit length. described in detail here
calculating normals in triangle mesh
if want find faces vertex, naive approach perform (linear) search vertex in list of faces. better approach maintain adjancy list.
Comments
Post a Comment