Spline editor

From PopcornFX
Jump to: navigation, search

Overview

The spline editor is a small editor displayed inside the Node viewer panel of the particle editor.

It is used to edit curves from the following nodes:


Interface

SplineEditor 01.png

  • 1- Freeze/Unfreeze 'X' curve
  • 2- Freeze/Unfreeze 'Y' curve if spline dimension >= 2
  • 3- Freeze/Unfreeze 'Z' curve if spline dimension >= 3
  • 4- Freeze/Unfreeze 'W' curve if spline dimension >= 4
  • 5- Selected control-point position, can be edited directly
  • 6- Selected keyframe time, can be edited (moves all the selected control-points on this keyframe)
  • 7- Selected left tangent value
  • 8- Selected right tangent value
  • 9- Loop mode. synchronizes the begin/end control-points of the curve (positions+tangents)
  • 10- Toggle extended curve infos display ( 27 )
  • 11- Cursor X coordinates (time)
  • 12- Cursor Y coordinates (value)
  • 13- RGB color, if spline dimension >= 3
  • 14- Pure RGB color tint, without intensity, if spline dimension >= 3.
  • 15- Alpha color
  • 16- Horizontal axis (time), on time = 0
  • 17- Vertical axis (control-point value), on value = 0
  • 18- Time axis at time = 1.0
  • 19- Value axis at value = 1.0
  • 20- 'X' Curve.
  • 21- 'Y' Curve. (only appears if spline dimension >= 2)
  • 22- 'Z' Curve. (only appears if spline dimension >= 3) (frozen)
  • 23- 'W' Curve. (only appears if spline dimension >= 4)
  • 24- Left tangent handle
  • 25- Selected control-point
  • 26- Right tangent handle
  • 27- Extended curve infos


Controls

Keys Action
[Alt] + [LeftMouseButton] create control-point under the mouse cursor. Move the cursor while clicked to immediately move the control-point(s)
[Alt] + [Shift] + [LeftMouseButton] subdivide curve under the mouse cursor. Move the cursor while clicked to immediately move the control-point(s)
[c] pop color-picker for selected keyframes
[Ctrl] + [e] frames all curves
[del] / [suppr] remove selected keyframe
[MouseScrollWheel] zoom in/out
[Ctrl] + [MouseScrollWheel] faster zoom in/out
[MiddleMouseButton] + drag mouse pan view
[Ctrl] + [MiddleMouseButton] + drag mouse nonuniform scale view
[Shift] + move keyframe lock to vertical axis (before v1.5.5)
[Ctrl] + [Shift] + move keyframe lock to horizontal axis (before v1.5.5)
[x] toggle 'X' curve (v1.5.4)
[y] toggle 'Y' curve (v1.5.4)
[z] toggle 'Z' curve (v1.5.4)
[w] toggle 'W' curve (v1.5.4)
[Shift] + move keyframe lock to an axis while moving keyframe(v1.5.5)
[Ctrl] + [Alt] + [LeftMouseButton] + drag mouse scale distance between selected keyframe and starting position (v1.5.5)
[Shift] + scale keyframe lock to an axis while scaling keyframe(v1.5.5)


Double curves

Available from v1.5.4, allows edition of double-curve sampler CParticleSamplerDoubleCurve nodes

SplineEditor 02.png

  • 1- Freeze/Unfreeze first set of curves
  • 2- Freeze/Unfreeze second set of curves
  • 3- First curve tangent
  • 4- Second curve tangent
  • 5- range between curve first and second 'X' curves
  • 6- First curve
  • 7- Second curve
  • 8- Inactive 'W' curves
  • 9- Active 'Z' curves