open all | close all

Random

随机

Preview 预览Basic 基础Inputs 投入Outputs 产出Context 背景

Random

随机

The Hash Node creates controllable and repeatable sequences of random values. To make things even more radical, Random Nodes can be added, which will create a new random value for each calculated surface position (in this example, a random color from the defined gradient is assigned to each pixel. 哈希节点创建可控和可重复的随机值序列。为了使事情变得更彻底,可以添加 Random Nodes,这将为每个计算的表面位置创建一个新的随机值(在这个例子中,从定义的梯度随机颜色分配给每个像素

This Node is very similar to the Hash Node since it also calculates random colors, alpha values, numeric values and vectors. The calculation of a new random value is based on both the Seed value and the Salt value. In addition, the random values will be recalculated for each modified animation time and for each calculated object surface point. When used as a surface color, each surface point will be assigned a random color that will also change when it changes to a different animation frame.

这个 Node 非常类似于 Hash Node,因为它还计算随机颜色、字母值、数值和向量。计算一个新的随机值是基于种子值和盐值。此外,对于每个修改的动画时间和每个计算的对象表面点,将重新计算随机值。当作为表面颜色使用时,每个表面点将被分配一个随机颜色,当它改变为不同的动画帧时也会改变。