Initial work on interaction of rays with objects