Pryme8 Posted August 7, 2018 Share Posted August 7, 2018 http://www.babylonjs-playground.com/#HNSRLC Do we have a method for keeping the points on the path the same distance apart, instead of more with the more curve. its also called a "Uniform" Curve. Quote Link to comment Share on other sites More sharing options...
jerome Posted August 8, 2018 Share Posted August 8, 2018 not with the current Bezier implementation Quote Link to comment Share on other sites More sharing options...
jerome Posted August 8, 2018 Share Posted August 8, 2018 that said, we could get the curve points with getPoints() then each bipoint is a little straight line, also a vector. It' might be easy to get each vector length and to set then your own wanted points at a given fixed interval. Quote Link to comment Share on other sites More sharing options...
JohnK Posted August 8, 2018 Share Posted August 8, 2018 16 hours ago, Pryme8 said: keeping the points on the path the same distance apart, instead of more with the more curve. Came across this stackExchange article which deals with distributing points equally along a Bezier curve. Would need a little adaptation but could help. Pryme8 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 8, 2018 Author Share Posted August 8, 2018 http://www.babylonjs-playground.com/#HNSRLC#3 Just really quickly converting it and I am missing something. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.