在 JavaScript/HTML5 中显示 3D 模型 [英] Displaying a 3D model in JavaScript/HTML5

查看:27
本文介绍了在 JavaScript/HTML5 中显示 3D 模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑在浏览器中渲染 3D 模型.我应该使用哪些工具/应该查看哪些地方?

I am looking at rendering a 3D model in a browser. What tools should I use/what places should I look at?

我不知道模型的数据格式是什么,我可能会要求以我想要的任何方式格式化数据.

I don't know what data format the model will be, I can likely request that data to formatted in any way I want.

我正在查看 three.js 但它似乎需要 WebGL 才能工作,这在 IE 中似乎不受支持.

I am looking at three.js but it seems that it needs WebGL to work, which appears to be unsupported in IE.

是否存在跨浏览器兼容的 HTML 3d 渲染引擎"?:)

Does a "cross-browser compatible HTML 3d rendering engine" exists? :)

推荐答案

我还没有玩过 3D,但我知道一个关于 HTML5 3D 资源的好地方.

I have not played with 3D yet, but I know a good place for ressources on 3D for HTML5.

http://www.html5rocks.com/en/gaming

这里有一个关于如何使用 Three.js 框架创建 3D 模型的教程.

And here is a tutorial on how to create your 3D models with the Three.js Framework.

http://www.html5rocks.com/en/tutorials/three/intro/

这可能对你有帮助.祝你好运.

This may help you. Good luck.

这篇关于在 JavaScript/HTML5 中显示 3D 模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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