Simplified viewing ray calculation