1. A method for computer graphics that takes triangle mesh as input, and generates normal vectors at each vertex representing the direction of the surface, and also a scalar parameter representing the curvature. The curvature parameter can be encoded as the size of the normal vector. A triangle mesh is a series of point positions in space, where points are connected to each other with a line segment to form triangles. A normal vector with curvature parameter is generated for each vertex in the mesh. At each vertex, each triangles sharing the vertex are evaluated, then the results for each surrounding triangles are aggregated to yield a normal vector with curvature parameter as size.