Javascript 从圆形缓冲几何图形中删除线

Javascript 从圆形缓冲几何图形中删除线,javascript,three.js,Javascript,Three.js,我试着把线去掉,做成一个完整的圆圈,这个模型应该是一张黑胶唱片 正如您在上面的屏幕截图中所看到的,您可以看到几何体上的线条,有没有办法删除它?我看了文档,搜索了网页,但什么也没找到 以下是我使用的代码: const vinylGeometry = new THREE.CircleBufferGeometry(2.5, 120) const vinylTexture = 'some_image.jpg' const vinylMaterial = new THREE.MeshPhongMater

我试着把线去掉,做成一个完整的圆圈,这个模型应该是一张黑胶唱片

正如您在上面的屏幕截图中所看到的,您可以看到几何体上的线条,有没有办法删除它?我看了文档,搜索了网页,但什么也没找到

以下是我使用的代码:

const vinylGeometry = new THREE.CircleBufferGeometry(2.5, 120)
const vinylTexture = 'some_image.jpg'
const vinylMaterial = new THREE.MeshPhongMaterial({
  map: textureLoader.load(vinylTexture),
  reflectivity: 0.2,
  refractionRatio: 0.2,
  specular: 0x050505,
  shininess: 100,
  envMap: envMapTexture,
  side: THREE.DoubleSide
})
const vinylMesh = new THREE.Line(vinylGeometry, vinylMaterial)
scene.add(vinylMesh)
vinylMesh.receiveShadow = true

有关更多信息,我正在ReactJS/NextJS应用程序中使用npm three软件包进行后处理。

const vinylMesh=new three.Line(vinylGeometry,vinylMaterial)
必须是
const vinylMesh=new three.Mesh(vinylGeometry,vinylMaterial)
不客气:)