spite / THREE.MeshLine

Mesh replacement for THREE.Line
MIT License
2.14k stars 381 forks source link

support Curve geometry #43

Closed morandd closed 7 years ago

morandd commented 7 years ago

I'm thinking to add suport for Curve geometry. Just adding something like

if (g instanceof Three.Curve) verticies = g.getSpacedPoints()

Any reactions/thoughts before I proceed?

spite commented 7 years ago

Sounds interesting! Where were you thinking the divisions value for the getSpacedPoints call should be specified?

morandd commented 7 years ago

hmm, good point.

My interest actually is in https://github.com/andreasplesch/aframe-meshline-component which wraps this component. But maybe I will add the Curve interpolation there, since you're right I don't see a particularly convenient way to add it here.

morandd commented 7 years ago

dropped. My end solution was to add Curve interpolation to the aframe-meshline / aframe-svgfile component