3D graphics compression and rendering framework