simple ray trace