什么是HTML5画布的最先进的JavaScript 3D库 [英] What is the most advanced Javascript 3D library for the HTML5 Canvas
问题描述
我正在寻找一个类似于像Away3D项目(flash)在javascript中的3D库。
特别需要以下:
- 相机(带摇摄倾斜等)最好带有平滑移动的选项,如Away3d Hovercam
- 3D文字(正确的3D模型,而不只是阴影)
- 网格,纹理等
- 照明
- 支持IE(因此可能会导致WebGL渲染为Chrome浏览器,然后切换到
p>
我曾经使用 Three.js
和我强烈推荐它。您可以访问 https://github.com/mrdoob/three.js 查看其首页和一些演示
FYI,有一个wiki页面用于各种Javascript游戏引擎,您可以在其中找到一些不错的项目: https://github.com/bebraw/jswiki/wiki/Game-Engines
和3D引擎的维基页面: https://github.com/bebraw/jswiki/wiki/WebGL
I am looking for a 3D library similar to something like the Away3D project (flash) in javascript. Particularily I need the following:
- Cameras (with pan tilt etc) preferably with options for smooth movement like the Away3d Hovercam
- 3D text (proper 3D models, not just a drop shadow)
- Meshes, textures etc
- A collection of primitives like triangles along with objects such as spheres.
- Lighting
- Support for IE (so possibly something that renders WebGL for Chrome then switches to something worse for IE)
- Preferably open source but commercial would be fine at a good price.
Thanks in advance.
I used to code some simple demos using Three.js
and I highly recommend it. You may checkout its homepage and some demos at https://github.com/mrdoob/three.js
FYI, there's a wiki page for various Javascript game engines where you may find some nice projects: https://github.com/bebraw/jswiki/wiki/Game-Engines
and a wiki page for 3D engines: https://github.com/bebraw/jswiki/wiki/WebGL
这篇关于什么是HTML5画布的最先进的JavaScript 3D库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!