I am currently working on a Three.js visualization project where I need to connect points using a spline.
After adding points to an array and passing it to THREE.SplineCurve3, I am able to render the spline by stepping through the points. However, I encounter an error when trying to add a mid-point along with the start and end points.
You can find an example of the issue here:
I believe the solution is simple, but I am unable to identify it. Can anyone provide assistance?
Ultimately, I aim to visualize the points on the surface of a sphere, with the splines between them following the path an aircraft would take. This means the spline will resemble a great circle, but further away from the center of the sphere at the midpoint.
Thank you in advance for your help.