Convex compactification