Optimizing anamorphic sculptures

At my workplace there’s an anamorphic sculpture that reveals a recognizable image only when viewed from a specific vantage point. The work of Jonty Hurwitz explores that technique with mirrors (catoptric anamorphosis) and with perspective (oblique anamorphosis). In Blue Singularity, Jonty’s own head sculpture is displayed in slices. Those slices compose the head when looking from a specific angle.

My office’s sculpture always gets me thinking about how I would optimize for that kind of result. To experiment with that, I wrote an application that, given a set of 3d meshes, arrange them in the 3d space so that a target silhouette is rendered from a specific camera angle.