AntoineSfx Posted April 15, 2018 Share Posted April 15, 2018 (TSP= traveling salesman problem) So I'm trying to animate an arm, which would spray paint on a surface. I want to define a curve with respect to a surface, with those properties: 1/ cover the entire surface, within a radius (paint is sprayed within a cone) 2/ offset to the surface, and always on the same side -- every point on the final curve (not only control points) should be at a certain distance along the normal of the surface 3/ somehow minimal in length, but not necessarily. I have a first draft for the trajectory, which is really simple: scatter some points on the surface, then sort the points by spatial locality. However, it doesn't generate TSP-style trajectory, there are big jumps, which happen to cross the surface (violates the same side constraint -- 2) How can I do this without going full TSP ? 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.