是否有类似 VRML 的高级 API 用于使用 HTML5 进行 3D 处理?
我曾经喜欢使用 VRML + Java/Javascript 作为构建基于 Web 的 3D 环境的一种方式。当然,VRML 已经死了,在我随后的网络漫游过程中,我选择了有关 HTML5 及其 Canvas 元素的大量噪音。
我想做的是用新技术重新审视我在 90 年代末的 VRML 工作,但我在演示代码中看到的是非常低级的调用以及需要我做一些相当复杂的 API 的类型数学(我绝对不是数学家),这让我有点放弃了这个想法。
有谁知道任何 API 或框架可能符合要求,让我能够专注于建模行为,而不必陷入几何困境?
感谢您的阅读。
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.
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.
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?
Thanks for reading.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也喜欢 VRML!我还浏览了 WebGL,并决定我并不是真的想进入图形编程,我想要一个像 VRML 这样的工具。
我还没有尝试过这些,但这里有一些值得一看的东西:X3DOM。它允许您在页面上的 html 中编写 X3D(基本上是 VRML 的 XML 等价物),并将其显示出来!请参阅 http://www.3d-test.com/interviews/x3d_2.htm 有关所有这些的讨论,以及 http://www.x3dom.org/ 了解实际内容。我不会屏住呼吸这将接管世界,但显然至少在某种程度上它是已启动并运行,您现在就可以在某些支持它的浏览器上使用它。
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.
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 和 X3D 都是有效的,并且可以在画布元素中呈现
X_ITE javascript-WebGL 库 - 它可以读取 VRML 或 X3D。我正在使用它来更新和交付旧版 VRML 项目。
X3D 联盟 将 X3D 和 VRML 视为有效格式,后者用于更多手动编码,因此 VRML 是还很有活力。直到最近,浏览器支持才消失了。
VRML and X3D are both valid and can be rendered in a canvas element
The X_ITE javascript-WebGL library - it can read VRML or X3D. I'm using it to update and deliver a legacy VRML project.
The X3D consortium sees both X3D and VRML as valid formats, the latter for more hand-coding, so VRML is still very much alive. What died was browser support, until recently.