Open anuragsr opened 2 years ago
The Birds example seems to work
but the lines are not there, as on the screenshot either
examples still do not work. console gives error:
Uncaught TypeError: g.getAttribute is not a function
at MeshLine.setGeometry (THREE.MeshLine.js:81:26)
at makeLine (main-graph.js:47:4)
at createLines (main-graph.js:76:2)
at init (main-graph.js:64:2)
at main-graph.js:41:1
modify THREE.MeshLine.js:81 to // this.setPoints(g.getAttribute("position").array, c); if (g instanceof THREE.Geometry) { this.setPoints(g.vertices, c); } else if (g instanceof THREE.BufferGeometry) { this.setPoints(g.getAttribute("position").array, c); } else { this.setPoints(g, c); }
Thx. would it be possible to update the Demos/Examples? They currently still do not work
Still doesn't work, exact error as above
modify THREE.MeshLine.js:81 to // this.setPoints(g.getAttribute("position").array, c); if (g instanceof THREE.Geometry) { this.setPoints(g.vertices, c); } else if (g instanceof THREE.BufferGeometry) { this.setPoints(g.getAttribute("position").array, c); } else { this.setPoints(g, c); }
ok,it's work
The links given for examples do not work.. just a blank screen appears with the page title and GUI if applicable