MediaLab is less adept at this sort of thing than is DirectRT (with which this would be quite easy). Do you have access to DirectRT?