included sphere intersection and ray generation from surface