Feature-preserving triangular geometry images for level-of-detail representation of static and skinned meshes