Repository navigation
Representation
For both rendering and collision detection with rocks and the hiker, the spline-based representation of the terrain is impractical. Therefore, the splines are approximated differently for each purpose:
To make the terrain visually appealing, the ground
To improve performance, the ground is approximated by a polyline
This type of segmented representation is particulatrily useful for an efficient preselection of relevant terrain sections in the collision detection.