+ 1
Bugging out
I added orbitControls to my three.js project but when you rotate it up or down half of the cylinder glitches out (yes I know this is the second question I’ve asked today) https://sololearn.com/compiler-playground/WkYiJ55Vpl79/?ref=app
2 Antworten
+ 7
☕︎︎ AstroBirb ✦
Change line 61 from 100 to 1000
+ 6
☕︎︎ AstroBirb ✦
your camera is clipping.
https://threejs.org/docs/#api/en/cameras/PerspectiveCamera
change your camera far value from 100 to a bigger number.
const camera = new THREE.PerspectiveCamera(
45,
sizes.width / sizes.height,
0.1,
3000
);