Get the Triangular Polygon where the Ray Point intersected

不羁岁月 提交于 2021-01-28 07:30:36

问题


I am rendering a 3D Obj model in iOS. http://metalbyexample.com/picking-hit-testing/. I am following the above Tutorial written by WM to find the hit point in the 3D model. Using the above link I can find the intersecting point with 3D model. I want to find the triangular polygon where I touched and I want to find the UV coordinates in the Image texture. How can I do that..

来源:https://stackoverflow.com/questions/56832882/get-the-triangular-polygon-where-the-ray-point-intersected

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!