NEW: Ray to pointer conversion function for cylindrical config