# \#shapegeometry

**URL:** https://discourse.threejs.org/tag/shapegeometry/1565.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Undesired results when parsing large SVG files](https://discourse.threejs.org/t/undesired-results-when-parsing-large-svg-files/77342)

<div class="topic-metadata">

**Author:** [@Joe\_At](https://discourse.threejs.org/u/Joe_At)\
**Replies:** 9\
**Last updated:** [February 2, 2025, 6:03pm UTC](https://discourse.threejs.org/t/undesired-results-when-parsing-large-svg-files/77342 "2025-02-02T18:03:54Z")

</div>

When parsing complex and large SVG files (\> ~20 MB), I encountered several undesired results, as shown in the screenshot. These issues seem to concern \<path/\> elements, as far as I can tell. I’m not entirely sure of …

---

## [Can't understand why result is a triangle instead of rectangle when creating 3d polygon](https://discourse.threejs.org/t/cant-understand-why-result-is-a-triangle-instead-of-rectangle-when-creating-3d-polygon/69105)

<div class="topic-metadata">

**Author:** [@evgenyshaikovskiy](https://discourse.threejs.org/u/evgenyshaikovskiy)\
**Replies:** 8\
**Last updated:** [August 16, 2024, 4:23am UTC](https://discourse.threejs.org/t/cant-understand-why-result-is-a-triangle-instead-of-rectangle-when-creating-3d-polygon/69105 "2024-08-16T04:23:53Z")

</div>

I am relatively new to Three.JS and tried to implement something to build polygons in 3D space. I tried using earcut library to triangulate points - did not help that much, tried to use Hull.js, which did work, but only …

---

## [Irregular Polygon Shapes Facing Double Coloring Issue in Three.js](https://discourse.threejs.org/t/irregular-polygon-shapes-facing-double-coloring-issue-in-three-js/64292)

<div class="topic-metadata">

**Author:** [@sana\_rahman](https://discourse.threejs.org/u/sana_rahman)\
**Replies:** 4\
**Last updated:** [April 23, 2024, 5:47am UTC](https://discourse.threejs.org/t/irregular-polygon-shapes-facing-double-coloring-issue-in-three-js/64292 "2024-04-23T05:47:07Z")

</div>

Hello everyone, I’m encountering an issue with irregular polygon shapes in my three.js project. When I draw the shapes from certain directions, they exhibit a double coloring effect, resulting in an undesirable appearan…

---

## [How to keep the stripes of zebra crossings vertical in the shape at all times](https://discourse.threejs.org/t/how-to-keep-the-stripes-of-zebra-crossings-vertical-in-the-shape-at-all-times/63341)

<div class="topic-metadata">

**Author:** [@wc19950724](https://discourse.threejs.org/u/wc19950724)\
**Replies:** 11\
**Last updated:** [April 10, 2024, 1:49am UTC](https://discourse.threejs.org/t/how-to-keep-the-stripes-of-zebra-crossings-vertical-in-the-shape-at-all-times/63341 "2024-04-10T01:49:05Z")

</div>

Like this demo, how to adjust the shader code to keep zebra stripes always vertical crosswalk demo

---

## [ShapeGeometry is not giving expected result from svg path data](https://discourse.threejs.org/t/shapegeometry-is-not-giving-expected-result-from-svg-path-data/61475)

<div class="topic-metadata">

**Author:** [@harshilHexa](https://discourse.threejs.org/u/harshilHexa)\
**Replies:** 4\
**Last updated:** [February 21, 2024, 10:00am UTC](https://discourse.threejs.org/t/shapegeometry-is-not-giving-expected-result-from-svg-path-data/61475 "2024-02-21T10:00:19Z")

</div>

I am trying to load shape with svg path in three js using THREE.ShapeGeometry but I did not get expected result sometimes. Here is the code I used to load shape let loader = new SVGLoader() loader.load('./test.svg', fu…

---

## [ShapeGeometry is giving incorrect result](https://discourse.threejs.org/t/shapegeometry-is-giving-incorrect-result/61478)

<div class="topic-metadata">

**Author:** [@RAUMIK\_RANA](https://discourse.threejs.org/u/RAUMIK_RANA)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 7:22pm UTC](https://discourse.threejs.org/t/shapegeometry-is-giving-incorrect-result/61478 "2024-02-15T19:22:35Z")

</div>

I am getting issue with ShapeGeometry. As you can see in below image, when I use same set of points for ShapeGeometry, I am getting intersected result. When add lines passing through those points, I am getting proper r…
