I have recently encountered a weird problem with three js.
In some situations it is not rendering all verticies (shown in the image below).
Worth noting that the image is of a circle geometry created with this code:
new THREE.CircleGeometry(Math.max(s.x, s.y) / 2, 64)
And there is nothing affecting the thetaStart
or thetaLength
of that geometry.
I know that when that frame was rendered the radius was 1.
Also the camera was 8 units away from the center of the circle and has a field of view of ~60
The camera is created like this
new THREE.PerspectiveCamera(0, 1, 0.000001, 20000);
the fov is of course updated later in the code to 60
So I guess what I am asking is: what could possibly cause this sort of behavior?