Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#30899] Need to be able to snap curve control point to nearest curve vertex

Date:
2012-04-10 23:25
Priority:
3
State:
Closed
Submitted by:
Tyler Harris (tyler_vfx)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Mesh Modeling
Status:
Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Need to be able to snap curve control point to nearest curve vertex
Detailed description
When using a curve as an animation path, an angle formed by a control point may or may not fall perfectly between curve segments. The angles may used to change direction of objects/cameras, usually with a stopping on the point and then starting up again in the new direction. If the control point does not occur between curve vertices, the animation path can't have a perfect angle and the result is a weird jittery motion right before the object "snaps" back onto its path. Increasing the curve resolution doesn't necessarily help because even at a resolution of 64, it may not be enough to give the illusion of a perfect angle.

This can be solved by allowing control points to fall directly on a curve vertex. That way, we don't have to interpolate relative to the arbitrary bezier control point and the angle can be perfect.

.blend attached that shows the problem.

Followup

Message
  • Date: 2012-04-10 23:37
  • Sender: Tyler Harris
  • Additional .blend file added with camera's motion path turned on to show discrepancy between the curve and the actual motion path.
  • Date: 2012-10-23 12:36
  • Sender: Ton Roosendaal
  • In order to make motion paths work, the entire spline gets evaluated on frame steps of equal distances. That is the only way to make well behaving paths with good speed control. It has to ignore the actual control points by definition, to avoid jerky (discontinue) motion.

 

Attached Files:

Name Date Download
curvetest.blend 2012-04-10 23:25 Download
curvetest2.blend 2012-04-10 23:37 Download

Changes:

Field Old Value Date By
status_idOpen2012-10-23 12:36ton
close_dateNone2012-10-23 12:36ton
StatusInvestigate2012-10-23 12:36ton
assigned_tonone2012-04-12 05:17campbellbarton
StatusNew2012-04-12 05:17campbellbarton
File Added20100: curvetest2.blend2012-04-10 23:37tyler_vfx
File Added20098: curvetest.blend2012-04-10 23:25tyler_vfx