Add support for new experimental boolean operation for vector images #4927
JonasMht
started this conversation in
Engine Core
Replies: 1 comment 1 reply
-
Godot 3.x uses the NanoSVG library, which only supports a subset of the SVG 1.0 specification. Godot 4.0.alpha uses ThorVG, which is more capable and robust, but still aims to support SVG 1.0 only. Most importantly, neither NanoSVG nor ThorVG support any Inkscape-specific functionality including Live Path Effects. To get your SVG to render correctly in Godot, you will have to find a way to "bake" your SVG to use standard SVG 1.0 features only. Alternatively, you can export the SVG to a PNG image to be imported by Godot. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The new experimental live path effect called boolean operation is not supported for vector images in the GodotEngine.
As an example i use an image with a boolean operation of two overlayed triangles resulting in the following image :

In the GodotEngine the boolean operation is not applied and we can see both triangles:

For more informations about these path functions:
https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Boolean_Operation_LPE
Wouldn't it be great if this feature could be added to the svg importer ?
Beta Was this translation helpful? Give feedback.
All reactions