Add option to Lock Spline Points

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
Post Reply
User avatar
D.T. Nethery
Posts: 2652
Joined: 27 Sep 2006, 19:19

Add option to Lock Spline Points

Post by D.T. Nethery » 31 Jan 2020, 14:46

Here is a request for improving the Spline Tools such as B-Spline : please make it possible to LOCK points on the spline , similar to how points in the Warp tool grid can be locked by clicking the point and holding down Shift. So if I create a spline that curves in one direction , then click to make a new point starting in a different direction the new point will not distort the previous points. (because those previous points will be locked in place) Does that make sense ?

See the screen captures. I've created a line with the B-Spline tool , formed with four points. BUT if I click to make a fifth point after the fourth point it distorts the line and I have to re-adjust the previous points to pull the line back to how I had it , then continue on adding points . I would like to have it so the previous points can be locked (or maybe it only needs to be the fourth point that is locked ?) , so when I make the next point the previous line will not be distorted.
BSpline_tool.jpg
MAC OS 10.12.6 , Macbook Pro Retina 15-inch, Mid 2015,
2.5 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.0.8, 64bit -
Wacom Cintiq 21 UX - Wacom Intuos Pro 5 - driver version 6.3.20-8

User avatar
Thierry
Site Admin
Posts: 2298
Joined: 07 Jan 2013, 08:28

Re: Add option to Lock Spline Points

Post by Thierry » 31 Jan 2020, 17:51

We'll look into this, at first sight it seems doable.
Si votre question a trouvé réponse, marquez votre sujet comme Résolu.
If your question has been answered, mark your topic as Solved.

User avatar
D.T. Nethery
Posts: 2652
Joined: 27 Sep 2006, 19:19

Re: Add option to Lock Spline Points

Post by D.T. Nethery » 31 Jan 2020, 19:24

Thanks ! :D I hope it will work.
MAC OS 10.12.6 , Macbook Pro Retina 15-inch, Mid 2015,
2.5 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.0.8, 64bit -
Wacom Cintiq 21 UX - Wacom Intuos Pro 5 - driver version 6.3.20-8

Svengali
Posts: 1328
Joined: 28 Dec 2006, 10:08
Contact:

Re: Add option to Lock Spline Points

Post by Svengali » 31 Jan 2020, 21:22

I don't quite understand what is being requested here... isn't the fundamental nature of spline curves that they are a sum of the control points that define them? And the power of spline curves is that each point can be individually adjusted to modify the local segment of the curve relative to that point's two immediate neighbors, and to a lesser extent, the two segments beyond those two points... all other segments of the derived curve remain stable and unchanged.

As it now works, once the spline's points are established, in effect they remain LOCKED until any individual point is explicitly re-positioned and the curve segment effected by that point is modified accordingly.

What am I missing?
sven
Desktop: tvp Pro 11.0.10-64bit, Win8.1 - 24GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.36-1
Android Tablet: release 11, Samsung Galaxy Note10.1 - 32GB internal - microSD 32GB

User avatar
D.T. Nethery
Posts: 2652
Joined: 27 Sep 2006, 19:19

Re: Add option to Lock Spline Points

Post by D.T. Nethery » 31 Jan 2020, 21:33

As shown in the screen shot above. Let's imagine I've set a line with three or four spline points , that line is exactly where I want it , I don't want that line to move , but now I want to continue adding more points after the last point to add to the line . If I add a new point it messes up the position of the line which must now be readjusted to get it back to where it was before. If the previous points could be locked (similar to how the points on the Warp tool are locked) the new point(s) added after the locked point will not cause the line to be shift out of place.
MAC OS 10.12.6 , Macbook Pro Retina 15-inch, Mid 2015,
2.5 GHz Intel Core i7, 16 GB Memory , TVPaint PRO 11.0.8, 64bit -
Wacom Cintiq 21 UX - Wacom Intuos Pro 5 - driver version 6.3.20-8

Svengali
Posts: 1328
Joined: 28 Dec 2006, 10:08
Contact:

Re: Add option to Lock Spline Points

Post by Svengali » 31 Jan 2020, 23:04

David, Here is a link to an explanation of T Splines, intended for new Rhino software users, but I think the first couple of minutes nicely explain the interaction of control points and how they influence the resultant curve.

IMO I don't think it is possible to make spline-building that will work like you want (i.e. locking some points).

There are two distinct stages in interactive spline design.
Stage one: Interactive design of the spline by ADDING OR MOVING POINTS to customize the curve. The complex spline is really a visualization of a mathematical formula based on the positions of all the control points. So, all the points must be available for repositioning.
Stage two: After the spline is the way you want it, you APPLY the spline and the final line is drawn.

Reworking the Spline.
In TVPaint you can re-activate the last spline, modify the control points and reapply the spline: First press UNDO which will erase the last generated line. Then press ENTER and the previous spline and control points reappear so they can be further manipulated.

As mentioned in the video, you can better control short segments of the spline by adding control points close around where the curve misbehaves. You might try something like that.

OR, maybe Thierry or one of the other TVPaint programmers can add something to the spline design process that will be a workable solution for you.

sven
Desktop: tvp Pro 11.0.10-64bit, Win8.1 - 24GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.36-1
Android Tablet: release 11, Samsung Galaxy Note10.1 - 32GB internal - microSD 32GB

Post Reply