A robot-model asset is stretched along one axis. Its vertices move into the intended shape, but the surface-normal arrows no longer stand perpendicular to the surface. Normalizing those arrows changes their length without repairing their direction.

The issue arises because a general affine shape transformation treats tangents and surface normals differently. The original example below concerns a deliberately nonuniform scale in a hypothetical model. It is not a rigid robot pose, a calibration correction, or evidence that a physical object has changed dimensions.

Start from the geometric requirement

A tangent displacement lies along a surface. A normal is perpendicular to every tangent displacement in that surface's tangent plane. In column-vector notation, let n be a normal and d a tangent. Their dot product satisfies n_transpose d = 0.

Apply an invertible linear transformation A to the model's geometry. The tangent becomes d_new = A d. A suitable transformed normal must therefore satisfy n_new_transpose A d = 0 for every original tangent d.

Choosing n_new = A_inverse_transpose n preserves that condition, because n_new_transpose A d = n_transpose A_inverse A d = n_transpose d. A nonzero result can then be normalized if a unit normal is required.

Eigen's geometry documentation explicitly distinguishes the linear transform for an ordinary vector from the inverse-transpose transform for a general normal. Khronos' Vulkan tutorial also describes an inverse-transpose normal matrix when nonuniform scale is present. The following numbers independently show why the distinction is necessary.

An original sloping plane

Use model coordinates in meters and the plane x + y = 1. Two tangents are d1 = (1, −1, 0) meter and d2 = (0, 0, 1) meter. An unnormalized normal is n = (1, 1, 0).

The dot products n · d1 and n · d2 are both zero. The plane can be checked at points P = (1, 0, 0), Q = (0, 1, 0), and R = (1, 0, 1) meters. Their differences lie in that tangent plane.

Now choose A = diag(2, 1, 1). It doubles the x dimension of the model while preserving its y and z dimensions. The transformed points are P_new = (2, 0, 0), Q_new = (0, 1, 0), and R_new = (2, 0, 1) meters.

The transformed tangents are (2, −1, 0) and (0, 0, 1) meters. Substituting x = x_new/2 into the original plane equation shows that the new plane is x_new/2 + y_new = 1.

The ordinary-vector rule fails the perpendicularity check

Applying A directly to the original normal gives n_wrong = (2, 1, 0). Its dot product with the transformed first tangent is 2 × 2 + 1 × (−1) = 3 meters, rather than zero.

The arrow is not perpendicular to the transformed plane. Its normalized version is (2, 1, 0)/sqrt(5), whose dot product with that tangent is 3/sqrt(5), still nonzero.

This is why normalization alone cannot fix the error. Dividing a nonzero dot product by a positive length does not make it zero. The wrong operation has changed the direction, not merely the magnitude.

The inverse transpose passes the same check

For the diagonal scale, A_inverse_transpose is diag(1/2, 1, 1). It sends n to n_correct = (1/2, 1, 0).

The dot product with (2, −1, 0) is one minus one, or zero. The dot product with (0, 0, 1) is also zero. This agrees with the coefficients in the transformed plane equation.

Normalizing gives the unit direction (1, 2, 0)/sqrt(5). The incorrect unit direction was (2, 1, 0)/sqrt(5). Their dot product is 4/5, corresponding to an angle of approximately 36.87 degrees between them.

Thus a perfectly normalized arrow can still be substantially misdirected. The perpendicularity test directly evaluates its geometric role rather than relying on a plausible length or a visually tidy vector.

Translation changes a plane's location, not this tangent rule

Add a translation t after the same scale, so that each point maps as p_new = A p + t. Differences between transformed points remain A times the original differences because the common translation cancels.

The tangent mapping and inverse-transpose normal direction are therefore unchanged. The plane's offset does change. Keeping a transformed normal but forgetting to transform the surface points would mix two different geometric descriptions.

The distinction is about quantities, not their array storage. A point, tangent, and normal can all occupy three numbers in software while requiring different operations because they represent different mathematical objects.

Why pure rotations can hide the mistake

For an orthogonal rotation R, R_inverse_transpose = R. The same matrix therefore transforms both the tangent and the normal correctly. A test containing only rigid rotations can let the ordinary-vector normal implementation appear correct.

Positive uniform scale followed by rotation also preserves the normal direction after normalization, even though the unnormalized factors differ. Nonuniform scale, as in the example, exposes the missing rule immediately.

The inverse-transpose expression requires an invertible linear map. Collapsing a dimension to zero makes this ordinary inverse undefined and can destroy a surface's tangent-plane information. Reflection also requires a separate consistent convention for orientation and triangle winding. Neither case should be silently treated as the positive diagonal scale used here.

For robot-model processing, retain the transformation type and the geometric meaning of each vector. Checking transformed normals against transformed tangents provides an explicit consistency test without claiming that a visually corrected model validates physical geometry or robot motion.

Sources checked October 23, 2026

Eigen, Space transformations, documentation displayed as 5.0.1-dev+7c7d8473:

https://libeigen.gitlab.io/eigen/docs-nightly/group__TutorialGeometry.html

KhronosGroup Vulkan Tutorial, The Mathematics of Skinning, Handling Normals, repository main edition as accessed:

https://github.com/KhronosGroup/Vulkan-Tutorial/blob/main/en/Advanced_glTF/Skeletal_Compute_Skinning/02_skinning_math.adoc

All planes, vectors, scales, and angle calculations are original hypothetical geometry. No source examples, figures, or executed graphics results are reproduced.

Illustration note: The accompanying robot sensing scene is a generic concept illustration. It does not render the invented plane or demonstrate a validated normal transformation.