Script operator GetClosestNormal()
#1
There is a part of the script:
Code:
tfObj o = objects[0];
Point3 p = tf.GetPos(sInx);

Point3 n = o.GetClosestNormal(p);
tfFace face = o.GetClosestFace(p);

why face.normal != n? I thought tfObj.GetClosestNormal finds closest face in that mesh and returns normal of it? If not, can someone explain what normal it does return?
  Reply
#2
It returns interpolated vertex normals.
  Reply
#3
Thanks!
  Reply


Forum Jump: