Computer-generated Moiré profilometry