Export scene as an SVG

Is it possible to export an SVG image of the current scene?

Hello and welcome!

It is possible to export PNG image - Render Scenes To .png Files | Babylon.js Documentation

Then you may convert PNG to SVG with some other library like png-to-svg - npm

2 Likes

that library doesn’t look like it actually converts png to svg.

Even if it did, I have doubts about the quality. I really want decent paths created from the scene.

Say for example this basic scene

image

It would be great to get paths made from all the edges

cc @labris

a little better

2 Likes