renders  a 3D scene to an svg image