// Lecture d'un fichier OBJ (avec plusieurs groupes)
// (fichier, téléchargeable ici : cube2.obj)
import obj;
size(7.5cm);
currentprojection=orthographic(3,2,4);
pen[] surfacepen={paleblue,
palered,
paleyellow,
pink,
palegreen,
orange};
draw(obj("cube2.obj",surfacepen),nolight);