Closed morandd closed 7 years ago
Can U add Width or Height demo? https://github.com/7dir/aframe-svgfile-component/issues/5
add demo with warnings if the SVG contains or other currently unsupported tags https://github.com/7dir/aframe-svgfile-component/issues/7
@morandd ping
In the original implementation all SVG paths are aggregated together into a single string.
In my case this resulted in problems when polygons overlap, for example in this text image: overlaptest.svg.txt
Overlapping paths create holes in the mesh. This is some issue in svg-mesh-3d.
I've filed this as a bug: https://github.com/mattdesl/svg-mesh-3d/issues/6
This branch avoids the issue by iterating over each item in the SVG and adding each individually so the element's object3d group.
I also:
thanks for your work on this valuable AFrame component