本文介绍了是否有类似 VRML 的高级 API 用于使用 HTML5 进行 3D 处理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经喜欢 VRML + Java/Javascript 作为构建基于 Web 的 3D 环境的一种方式.当然VRML 已经死了 并且在我随后的网络漫游过程中我选择了关于 HTML5 及其 Canvas 元素的大量噪音.

I used to love VRML + Java/Javascript as a way of building 3d web-based environments. Of course VRML has died a death and during the course of my subsequent wanderings of the web I picked up a lot of noise about HTML5 and its Canvas element.

我想做的是用新技术重新审视我在 90 年代后期的 VRML 工作,但我在演示代码中看到的是非常低级的调用和需要我做的那种 API一些相当复杂的数学(我强调我不是数学家),这让我有点放弃这个想法.

What I would like to do is revisit my VRML work of the late 90s with the new technology but what I've seen in the demo code out there is very low-level calls and the sort of API that would involve me doing some fairly complex maths (I am emphatically not a mathematician) and this has put me off the idea somewhat.

有谁知道有哪些 API 或框架可能符合要求并让我能够专注于建模行为而不必陷入几何学的泥潭?

Does anyone know of any APIs or frameworks that might fit the bill and allow me to concentrate on modelling behaviour without having to get bogged down with geometry?

感谢阅读.

推荐答案

我也喜欢 VRML!我还浏览了 WebGL 并决定我并不是真的想进入图形编程,我想要一个像 VRML 这样的工具.

I loved VRML too! I also browsed around WebGL and decided that I didn't really want to get into graphics programming, I wanted a tool like VRML.

我还没有尝试过这些,但这里有一些值得一看的东西:X3DOM.它可以让你编写 X3D(基本上是 VRML 的 XML 等价物,直接在你的页面上的 html 中,并显示出来!见 http://www.3d-test.com/interviews/x3d_2.htm 讨论所有这些,以及 http://www.x3dom.org/ 对于实际的东西.我不会屏住呼吸,这将接管世界,但显然至少在某种程度上它是启动并运行,您今天可以在一些支持它的浏览器上使用它.

I haven't tried these yet, but here's something to look at: X3DOM. It lets you write X3D (basically the XML equivalent of VRML right in with your html on your page, and have it displayed! See http://www.3d-test.com/interviews/x3d_2.htm for a discussion about all of this, and http://www.x3dom.org/ for the actual stuff. I wouldn't hold my breath that this will take over the world, but apparently at least at some level it's up and running and you can use it yourself today on some browsers that support it.

这篇关于是否有类似 VRML 的高级 API 用于使用 HTML5 进行 3D 处理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 01:34