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: 4225
Joined: 27 Sep 2006, 19:19

Add option to Lock Spline Points

Post by D.T. Nethery »

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

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
Thierry
Site Admin
Posts: 2780
Joined: 07 Jan 2013, 08:28

Re: Add option to Lock Spline Points

Post by Thierry »

We'll look into this, at first sight it seems doable.
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Add option to Lock Spline Points

Post by D.T. Nethery »

Thanks ! :D I hope it will work.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Add option to Lock Spline Points

Post by Svengali »

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
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

Re: Add option to Lock Spline Points

Post by D.T. Nethery »

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.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Add option to Lock Spline Points

Post by Svengali »

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
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Post Reply