The pst-solides3d package can project 2D .eps images into a plane in 3D. From the documentation:

enter image description here

Can Asymptote project a 2D .eps into planes embedded in 3D? Asymptote can import 2D images into a 2D picture with


but I can't find any examples in 3D.

  • Perspective projection or orthonormal projection? The former, as far as I know, does not exist. – Symbol 1 Feb 1 '17 at 16:22
  • Perspective projection would be great, but orthonormal (orthographic?) would suffice. – Talon Chandler Feb 1 '17 at 16:38

Not really. As you point out, Asymptote's mechanism for importing images uses labels. In 3d, labels are rendered as surfaces; the shape of the label is extracted, but any coloration is ignored. I'm guessing any image you attempted to draw this way would show up as a black parallelogram.

|improve this answer|||||
  • This is quite annoying, and possibly the biggest lacuna in Asymptote for me right now... I often would like to draw atop a 2D graphic with 3D arrows. Is there no way to interpret a WxH image as a lattice of colored squares, short of drawing WxH individual squares? Would work both in 2D and 3D, but would generate millions of draw commands, vertices, edges.... and would be hideously large as vector graphics and slow to render. – Iwillnotexist Idonotexist Nov 2 '17 at 13:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.