在 iOS 上显示 3D 模型对象的注释
Display annotations for 3D model object on iOS
请给我一个在 iOS 上显示 3D 模型对象注释(文本或图像)的解决方案。
有关详细信息,到目前为止,我可以按照 http://iosdeveloperzone.com/2016/05/10/getting-started-with-modelio/. But I cannot find a way to add annotations, then display them with the 3D model object. I expect the implementation on iOS will be similar with https://sketchfab.com/models/363e92268ff04a6ba8322332004bdaab(网络版)中的指南在 iOS 上加载和显示 3D 模型对象。
感谢您的任何建议和回答。
您可以尝试创建 SCNText 几何类型的节点。这允许在 3D 场景中显示文本。
将您的 3D 位置投影到屏幕上 space。然后使用 overlaySKScene
绘制注释。这将使注释位于正确的位置,并使文本保持恒定大小,与从相机到每个注释位置的距离无关。
请给我一个在 iOS 上显示 3D 模型对象注释(文本或图像)的解决方案。
有关详细信息,到目前为止,我可以按照 http://iosdeveloperzone.com/2016/05/10/getting-started-with-modelio/. But I cannot find a way to add annotations, then display them with the 3D model object. I expect the implementation on iOS will be similar with https://sketchfab.com/models/363e92268ff04a6ba8322332004bdaab(网络版)中的指南在 iOS 上加载和显示 3D 模型对象。
感谢您的任何建议和回答。
您可以尝试创建 SCNText 几何类型的节点。这允许在 3D 场景中显示文本。
将您的 3D 位置投影到屏幕上 space。然后使用 overlaySKScene
绘制注释。这将使注释位于正确的位置,并使文本保持恒定大小,与从相机到每个注释位置的距离无关。