Scene-based and viewer-centered representations for comparing shapes