Parameter
参数
•输入
This is the input value to be converted.
这是要转换的输入值。
•输入较低•输入较高
Input Lower and Input Upper define the upper and lower limit for the input value.
输入下限和输入上限定义了输入值的上限和下限。
输出较低输出较高
Output Lower and Output Upper define the limits for the output value.
输出较低和输出较高定义了输出值的限制。
•样条
The purpose of the spline graph is to allow nonlinear remapping. There are many cases where you might want the Range Mapper node’s output to rise gradually at first and then rise sharply as the upper limit is approached. One such case is a bicep’s muscle, the bulge of which depends on how far the elbow is bent. Most of the bulging occurs as the elbow approaches full bend. Splines give you an easy way to simulate these nonlinear dependencies.
样条图的目的是允许非线性重映射。在许多情况下,您可能希望范围映射器节点的输出首先逐渐上升,然后在接近上限时急剧上升。其中一个例子是二头肌,它的凸出部分取决于肘关节弯曲的程度。大多数膨出发生在肘关节接近完全弯曲时。样条给你一个简单的方法来模拟这些非线性的依赖。
To create a point, click on the graph; to move an existing point, drag the point; to delete a point, drag the point out of the graph. The graph’s X‑axis represents the input value, the Y‑axis the output value.
若要创建一个点,请单击图形; 若要移动一个现有点,请拖动该点; 若要删除一个点,请将该点拖出图形。图形的 x 轴表示输入值,y 轴表示输出值。
You can influence the spline’s curvature using a Tension slider, which you access by clicking the small arrow next to the graph. The strength of the Tension slider controls the interpolation between the spline’s points. With a high Tension setting, the spline curve passes through all its points. With a low setting, a soft curve is created and the points control only the approximate path of the curve (i.e. the curve will not necessarily pass through the points). This soft curve is similar to a B-Spline.
您可以使用张力滑块影响样条的曲率,单击图形旁边的小箭头即可访问该滑块。张力滑块的强度控制样条的点之间的插值。用高张力设置,样条曲线通过其所有点。通过一个低的设置,一条软曲线被创建,点只控制曲线的近似路径(即曲线将不一定通过点)。这条软曲线类似于 b 样条曲线。
The position of a selected point is shown in the X and Y boxes. You can enter new values for the point if desired. As with the Tension slider, click the triangle next to the graph to access the X and Y boxes. You can choose a particular shape for the graph’s curve using the context menu; right‑click on the graph and choose the desired curve shape such as Linear, Cubic or Sin. Default Points defines the number of points used to create the curve shape.
选定点的位置显示在 x 和 y 框中。如果需要,可以为该点输入新的值。与张力滑块一样,单击图形旁边的三角形以访问 x 和 y 框。您可以使用上下文菜单为图形的曲线选择特定的形状; 右键单击图形并选择所需的曲线形状,如线性、立方体或 Sin。Default Points 定义用于创建曲线形状的点数。
A straight line from the bottom left to the top right of the graph represents linear behavior (the same result as disabling Use Graph). If you add a point to the middle of the line and drag it up or down, the remapping becomes non-linear. If you want the output to increase gradually with low to medium input values then rise sharply as the input approaches its upper limit (such as for the biceps muscle mentioned earlier), draw a curve (by adding points and dragging them), from left to right, that is shallow at first then rises sharply towards the top right corner of the graph.
从左下角到右上角的一条直线表示线性行为(与禁用 Use Graph 的结果相同)。如果在线条的中间添加一个点,并向上或向下拖动它,则重新映射将成为非线性的。如果你希望输出逐渐增加,从低到中的输入值,然后急剧上升,当输入接近其上限(如前面提到的二头肌肌肉) ,画一条曲线(通过添加点并拖动它们) ,从左到右,先是很浅,然后急剧上升到图的右上角。
输出•
See RangeMapper Node.
参见 RangeMapper Node。