How to smoothly animate drawing of a line

前端 未结 2 715
情话喂你
情话喂你 2021-01-03 14:28

I have about 40 curved lines and all of them have from 30 to 200 points. I draw all of them equally using BufferGeometry and setDrawRange() but it

2条回答
  •  感情败类
    2021-01-03 15:24

    You can draw Lines with LineSegments: https://threejs.org/docs/api/objects/LineSegments.html and the other way: https://threejs.org/docs/api/objects/Line.html

    Maybe a change gives better results.

提交回复
热议问题