Closed as duplicate of#30819
Closed as duplicate of#30819
Description
Description
Top and bottom faces of ExtrudedGeometry are not visible any more when updating to r175, all was fine in the previous versions.
I think this PR could have broken it but I can't be sure:
#30750
r174, all fine:
r175, top and bottom missing:
Reproduction steps
- Create a shape for example this rounded corner rectangle:
const shape = new THREE.Shape();
const angleStep = Math.PI * 0.5;
const size = 0.64;
const radius = 0.32;
shape.absarc(size / 2 - radius, size / 2 - radius, radius, angleStep * 0, angleStep * 1);
shape.absarc(-size / 2 + radius, size / 2 - radius, radius, angleStep * 1, angleStep * 2);
shape.absarc(-size / 2 + radius, -size / 2 + radius, radius, angleStep * 2, angleStep * 3);
shape.absarc(size / 2 - radius, -size / 2 + radius, radius, angleStep * 3, angleStep * 4);
- Extrude the shape using ExtrudeGeometry:
const geometry = new THREE.ExtrudeGeometry(shape, {
depth: 0.2,
bevelEnabled: false,
bevelThickness: 0,
bevelSize: 0,
bevelSegments: 0,
curveSegments: 6
})
- The top and bottom faces, the ones corresponding to the original shape, are missing.
Version
r175
Device
Desktop
Browser
Chrome
OS
Windows