如何通过three.dart加载obj模型? [英] How to load obj model via three.dart?

查看:218
本文介绍了如何通过three.dart加载obj模型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的Web应用程序上加载从blender导出的.obj文件。但我不能找到一个清楚的howto例子。示例代码非常感谢。

I need to load .obj file exported from blender on my Web app. But I'm not able to find a clear howto example. Example code is very much appreciated.

推荐答案

Three.dart还没有OBJLoader。但是,它有一个STLLoader,可以使用它来加载STL模型。从今天开始,pub.dartlang.org包中的加载器不可用。您可以在上获取最新的软件包版本github 页面。您可以在此处查看示例。

Three.dart does not have OBJLoader yet. But, it has an STLLoader which one can use to load STL models. The loader is not available in the pub.dartlang.org package as of today. You can get the latest vesions of the package on its github page. You can see an example here.

这篇关于如何通过three.dart加载obj模型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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