I've browsed the source of three.js and I haven't seen any file related to SVG. I've only found CanvasRenderer and WebGLRenderer. So what about SVG ? I thought it was supported.
SVGRenderer is not part of the library -- it is part of the examples.
SVGRenderer can be found in the examples/js/renderers/ directory.
If you are rendering with WebGLRenderer, use SVGLoader to load .svg files. SVGLoader is located in the examples/js/loaders/ directory.
For demos, see https://threejs.org/examples/?q=svg
three.js r.99
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With