[iOS 11] SceneKit hitTest:options: invalid results
Originator: | Max.Barel | ||
Number: | rdar://34592505 | Date Originated: | September 22 2017, 12:35 PM |
Status: | new | Resolved: | |
Product: | IOS 11 SceneKit | Product Version: | XC9 9A235 |
Classification: | Reproducible: |
Area: SceneKit Summary: With iOS 11 SceneKit framework, the method hitTest:options: returns invalid results. Along the segment from camera to model, it finds and returns points, returned in hits array that are NOT on any node geometry. It may also return no points when it should. Number of points returned vary from 0 to 16. All points are correctly aligned on the projected segment but not positioned correctly along the segment. Steps to Reproduce: Build a single node custom mesh as to model a real world terrain. Give it a scale. Implement the hitTest:options: method in response to a screen touch to get a hits array. Expected Results: Returned hits are positioned on the terrain node geometry. See valid screenshots of the results attached, file name prefixed with ok_ Actual Results: IOS 10- framework results are OK. On device or in simulator. XC9 builds with IOS 11 framework return invalids results on device. Running on simulator is not an option, due to general metal/openGL failure of simulator on GM 1OS 11 release. See invalid results screenshots attached, file name prefixed with ko_ Version/Build: XC9/iOS 11 GM build (9A235) Configuration: Run in debug mode
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!