Is there a 3D format which is a 3D extension to SVG?

前端 未结 2 1838
没有蜡笔的小新
没有蜡笔的小新 2021-02-20 08:36

SVG is the W3C\'s standard for 2D vector graphics. Something quite solid. Is there a 3D version of SVG? A kind of extension of it, so converting from .svg to

2条回答
  •  梦谈多话
    2021-02-20 09:07

    If the W3C feature of SVG is critical, I don't know of anything. And if you want to make an SVG graphic into 3D by changing some outer tags and leaving the rest alone, I don't know of anything either.

    But if what you like about SVG is that it is a declarative language for 2D graphics that can be rendered in a browser, and furthermore that the objects are "persistent" in the sense that you can change an attribute in the DOM and that change is reflected in the browser (in contrast to a canvas approach where making a change means redrawing the picture), then X3D is a candidate. They appear to have liaison and cooperation agreements with W3C etc. Javascript libraries support rendering in a browser; see demos at X3dom, Cobweb.

提交回复
热议问题