Computing surface normals for 3D models