I'm trying to use the setPoints() method with a BufferGeometry to increase performance. I can draw the LineSegments class from THREE just fine when using my BufferGeometry but when I try to use the same object as points for MeshLine, I'm getting the following error:
three.meshline.js:95 ERROR: The BufferArray of points is not instancied correctly. (three.meshline.js:95)
If I can provide any more info, just reply, please :)
P.S.: Thank you for providing this awesome extension for Three.js, I'm looking forward to using it since I've already tried it without a BufferGeometry!
I'm trying to use the setPoints() method with a BufferGeometry to increase performance. I can draw the LineSegments class from THREE just fine when using my BufferGeometry but when I try to use the same object as points for MeshLine, I'm getting the following error:
three.meshline.js:95 ERROR: The BufferArray of points is not instancied correctly. (three.meshline.js:95)
You can see how I'm trying to use it in https://github.com/VADS/DaVerMePro-MIB5-Three.js/blob/0f024a4a2dae0003b935a5b345389159ea7a4e29/src/Turtles/Turtle3D.ts
If I can provide any more info, just reply, please :)
P.S.: Thank you for providing this awesome extension for Three.js, I'm looking forward to using it since I've already tried it without a BufferGeometry!