Stacking images in z-space using openFrameworks