Mask-directed micro-3D printing