Initial implementation of simple raycaster.