
3. A 3D Visualization Tool Used for Test Automation in the Forza Series 241
Figure 3.7. By-design skewed normals to simulate the effect of bumpy surfaces on the
tires.
Later we arrived on a heuristic that works quite well for our meshes to detect
those bad skewed normal. Our normals are exported with a 64-bit precision, and
in the tool we recalculate the normal with the following non-weighted formula:
normalize
k
i=0
n
i
,
where k is the number of faces in the one-ring neighborhood of a vertex and n
i
is
the face normal of each triangle. We calculate this formula with 32-bit precision.
After this, we have two set of normals: the original one with 64-bit