You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for your work! It is super interesting
I previously wrote an issue about the availability of the demos.
This issue is pretty related to it, as my final purpose is to understand and be able to reproduce the demos offered as .gifs.
Some of the outputs of the demos are not outputted as direct return attributes of functions as far as I am concerned.
For example, I was trying to reproduce the demo of the spline fitting but the function auto stat = ppl::LERPer::extractB_path(data, control_points, tolerance); // fit a cubic Bézier path to the data only outputs the statistics of the fitting process, but it does not output the number of curves as argument, nor which control points are associated with each fitted Bezier ...etc
I would like to know if it is possible to retrieve the info, similarly as performed in the demos, or should I move on.
Thank you so much for your work, and your time!
Have a great day :)
The text was updated successfully, but these errors were encountered:
Hi, it's been a long time since I did the demo. so unfortunately I don't think I still do have the source code for it!
I think I did the demo by rendering a sequence of points and straight lines with OpenGL. However, the library is not about rendering, which if you want you still can do in various ways. Many online resources are available!
The return value of the mentioned function will just give you some insights about the fitting process, and as mentioned in documented example the fitted Bézier path will be stored in the second parameter control_points, which is a container of control points. Each four points will make a cubic Bézier curve, where the end control point of each cubic curve will be the begin control point of the cubic curve that follows it. Hope that helps:-)
Good evening,
Thank you very much for your work! It is super interesting
I previously wrote an issue about the availability of the demos.
This issue is pretty related to it, as my final purpose is to understand and be able to reproduce the demos offered as .gifs.
Some of the outputs of the demos are not outputted as direct return attributes of functions as far as I am concerned.
For example, I was trying to reproduce the demo of the spline fitting but the function
auto stat = ppl::LERPer::extractB_path(data, control_points, tolerance); // fit a cubic Bézier path to the data
only outputs the statistics of the fitting process, but it does not output the number of curves as argument, nor which control points are associated with each fitted Bezier ...etcI would like to know if it is possible to retrieve the info, similarly as performed in the demos, or should I move on.
Thank you so much for your work, and your time!
Have a great day :)
The text was updated successfully, but these errors were encountered: