Some tests with ray casting and polygon merging