Image-based representations for efficient rendering and editing