X3D、SVG、WebGL、VRML 阅读之间的关系/比较?

发布于 2025-01-03 22:48:20 字数 393 浏览 0 评论 0原文

我试图了解它们之间的关系。例如:

  • 哪个只是另一个的替代品(以及为什么)——例如 X3D 替代了 VRML?
  • 有什么事情是一个人能做而另一个人却做不到的 - 例如,SVG 无法创建 3D 世界,但其他人可以?
  • 哪个级别更高 - 例如 WebGL 比 X3D 级别更高
  • 哪个是/更有可能是 W3 标准,因此受到流行浏览器的支持
  • 哪个最容易创建漂亮的世界/它们支持哪些功能 - 例如 X3D 支持光线追踪而其他人则不

知道这些问题以前已经被问过,并且有人写了一篇很好的文章总结了这些信息,以便像我这样想要学习和使用其中一个的人可以做出明智的决定,而不必担心未来的兼容性/迁移 问题。

是否有任何针对所有这些及相关技术的推荐阅读材料?

I'm trying to be get an idea what the relationship between each of these are. Such as:

  • Which is just a replacement for the other (and why) - e.g. X3D replaces VRML?
  • what can one do that the other cannot - e.g. SVG cannot create 3D worlds but the others can?
  • Which is higher level - e.g. WebGL higher level than X3D
  • Which is / is more likely to be a W3 standard and thus supported by popular browsers
  • Which is the easiest to create nice looking worlds in / what features do they support - e.g. X3D supports Ray Tracing and the others don't

I'm sure these questions have been asked before and someone has written a nice article summarizing this information so that people like me who want to learn and use one of them can make an informed decision without worrying about future compatibility/migration issues.

Is there any recommended reading addressing all these and related technologies?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

贵在坚持 2025-01-10 22:48:20
  • X3D 确实是 3D 世界的场景图表示,它取代了 VRML。我同意上面的第1点。
  • 通过 JavaScript 库 X3DOM,X3D 场景成为 HTML DOM 的一部分,即标准 DOM 操作和事件处理可用于表示 3D 场景及其中的所有对象并与之交互。这类似于 2D 场景的 SVG:每个 SVG 对象都成为一个 DOM 对象。
  • WebGL 用于浏览器中的低级 3D 渲染(如 OpenGL)。
  • X3DOM可以使用WebGL直接在浏览器中进行渲染,无需任何插件。
  • 您可以在 WebGL 之上使用 X3DOM 在浏览器中构建无插件的基于 HTML DOM 的 3D 世界,或者您可以使用诸如 Three.js 之类的东西来代替 x3dom。 Three.js和X3DOM都比WebGL处于更高的水平。
  • 这些幻灯片很好地概述了 X3DOM,包括简单的示例: http://www .slideshare.net/jsalonen/x3dom-an-overview-and-examples
  • X3D 确实支持体积渲染(光线投射):http://www.web3d.org/x3d/content/examples/Basic/VolumeRendering/ ——我还没有看到光线追踪的例子。
  • X3D is indeed a scenegraph representation of 3D worlds, and it replaces VRML. I agree with point 1 above.
  • With the JavaScript library X3DOM, X3D scenes become part of the HTML DOM, i.e. standard DOM manipulation and event handling can be used to represent and interact with 3D scenes and all the objects therein. This is analogous to SVG for 2D scenes: each SVG object becomes a DOM object.
  • WebGL is for low-level 3D rendering (like OpenGL) in the browser.
  • X3DOM can use WebGL to do its rendering directly in the browser, without any plugins.
  • You could use X3DOM on top of WebGL to build plugin-less HTML DOM-based 3D worlds in the browser, or you could use something like three.js instead of x3dom. Both three.js and X3DOM are at a higher level than WebGL.
  • These slides give a good X3DOM overview, including simple examples: http://www.slideshare.net/jsalonen/x3dom-an-overview-and-examples
  • X3D does support volume rendering (raycasting): http://www.web3d.org/x3d/content/examples/Basic/VolumeRendering/ -- I have not yet seen raytracing examples.
坦然微笑 2025-01-10 22:48:20

1) X3D (~2005) 是 VRML (~1998) 的后继者。两者都是 ISO 标准并由同一组织管理: web3d 联盟:web3d.org

2) VRML 规范包括用于动态、交互式但单用户 3D 场景和/或世界的单一文件格式和运行时行为。它定义了大约 80 个可用于描述内容的不同节点(例如 3d 网格、材质、变换、灯光、视点……)。 X3D 规范只是建立在 VRML 之上,并且包含的​​不是一种而是三种文件编码:经典(就像 VRML)、XML 和二进制以及新的新闻和组件,包括 NURBS、粒子……

3) X3D,作为场景图形系统,比 OpenSG 和 WebGL 更高

4) 有人认为两者都应该成为 W3C 规范的一部分:http://www.w3.org/community/declarative3d/

5) 通常使用 X3D 更容易构建和原型化,但使用 OpenGL/WebGL,您可以(几乎)直接访问 GPU并且可以更自由地创建应用程序的任何需求。但也有一些项目将两者结合起来:www.x3dom.org

1) X3D (~2005) is a successor to VRML (~1998). Both are iso standards and managed by the same organization: The web3d consortium: web3d.org

2) The VRML-spec includes a single file format and runtime behavior for dynamic, interactive but single-user 3d scenes and/or worlds. It defines around 80 different nodes (e.g 3d-meshes, materials, transforms, lights, viewpoints, ...) which can be used to describe the content. The X3D-spec just builds on VRML and includes not one but three file encodings: classic (just like VRML), XML and binary and new news and components includes NURBS, particles, ...

3) X3D, as a scene-graph system, is higher the OpenSG and WebGL

4) There are people believing both should be part of the W3C spec: http://www.w3.org/community/declarative3d/

5) Usually it's easier to build and prototype with X3D but with OpenGL/WebGL you have (almost) direct access to your GPU and have more freedom to create whatever demands your application has. But there are also projects to combine both: www.x3dom.org

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文