将 3d 模型导入 Flutter 应用程序和纹理未显示 [英] importing 3d model into Flutter app and textures not showing up

查看:25
本文介绍了将 3d 模型导入 Flutter 应用程序和纹理未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:我正在使用 ARKIT 颤振包.我一直很难弄清楚如何为我的项目导入包含纹理的 3d 模型.该包有一个包含纹理的示例(位于 IOS Runner 文件夹中),这表明这可以通过他们的自定义 3d 对象示例 (eevee.dae) 实现.

Problem: I am using the ARKIT package for flutter. I have been having a hard time figuring out how to import the 3d model for my project with the textures included. The package has an example that has textures included (located in the IOS Runner folder) which demonstrates that this is possible with their custom 3d object example (eevee.dae).

将模型导入 Flutter 应用程序并保持其纹理/材质的最佳方法是什么?

推荐答案

不幸的是,目前 Flutter 没有官方支持 3D 模型,ARKit 和 AR-Core 也是如此.您可以使用一些 3rd 方库和包在屏幕上绘图.在这种情况下,我认为最好的办法是联系包的创建者并寻求他们的帮助.

Unfortunately, flutter currently does not have official support for 3D models and the same goes for ARKit and AR-Core. You can draw on the screen using some 3rd party libraries and packages. I think your best bet, in this case, is to reach out to the creator of the package and ask for their assistance.

这篇关于将 3d 模型导入 Flutter 应用程序和纹理未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆