Hm - technically this isn't possible within the current versions of DirectRT; however it is possible within the 2010 copy of DirectRT. Unfortunately, this product won't be launched until mid-September.

This task however, would currently be possible through MediaLab.

Perhaps a work around can be formed. What is the exact purpose and what are the exact requirements of this experiment?