Distance
距离
PyroCluster offers many possibilities for creating smoke and cloud effects.
PyroCluster 为创建烟雾和云效果提供了许多可能性。
One of the most powerful effects that PyroCluster has to offer is the ability to influence particles based on their distance from their respective emitter.
PyroCluster 能够提供的最强大的效果之一就是根据粒子与各自发射器的距离来影响粒子。
使用距离效果
With these settings, you can have puffs change their color, radius and luminosity according to how far away they are from the emitter.
通过这些设置,你可以让喷出物根据距离发射器的距离改变它们的颜色、半径和亮度。
Here you can change the color, radius and luminosity of puffs depending on how far away they are from the emitter. This is useful for effects where the color, shape and luminosity changes over distance such as seen in the flames of rocket boosters.
在这里您可以改变颜色,半径和亮度的喷出取决于有多远他们从发射器。这是有用的效果,其中的颜色,形状和亮度变化的距离,如火箭助推器的火焰看到。
使用发射面
Distance effects can be calculated either from the emitter plane (left) or from the position of the emitter itself (right).
距离效果可以从发射器平面(左)或发射器本身的位置(右)计算出来。
If the Use Emitter Plane option is enabled, the distance of puffs will be measured from the emitter’s plane rather than from the emitter’s origin.
如果启用使用发射器平面选项,喷出的距离将从发射器平面测量而不是从发射器的原点测量。
Note: It only makes sense to apply this option to particle systems that use a planar emitter, e.g., a pyramid. Using an emitter with an irregular surface is not recommended since the emitter plane effect’s calculations are based on a planar emitter surface. 注意: 这个选项只适用于使用平面发射器的粒子系统,例如金字塔。不推荐使用表面不规则的发射极,因为发射极平面效果的计算是基于平面发射极表面近距离[0. . + ∞ m ]
The cylindrical cavity inside which distance effects take place is defined by the Near Range and Far Range values.
发生距离效果的圆柱形腔体由近距离和远距离值确定。
These two values define the size of the cylindrical cavity in which puffs will be influenced. Puffs in this cavity may have their color, radius and luminosity adjusted using the gradients on this page. If you want the gradients to control puffs the moment they are emitted, set Near Range to 0.
这两个数值决定了气泡会受到影响的圆柱形空腔的大小。在这个空腔的泡芙可能有他们的颜色,半径和亮度调整使用本页上的梯度。如果您希望梯度控制喷出的瞬间,请将近距离设置为0。
例子
If Near Range is set to 0, the parameters will be blended right away - when the particles are born. A value of 50 will result in the particles first being blended when they are more than 50 units from the emitter. All particles within 50 units from the emitter will be drawn as puffs using the defined start settings (color at left of gradient, start radius). Particles farther than 50 units from the emitter will be interpolated between the Near and Far Range (Start and End) values.
如果近距离设置为0,参数将被混合的权利-当粒子出生。当粒子距离发射器超过50个单位时,值为50将导致粒子首先被混合。从发射器50个单位以内的所有粒子将被绘制为使用定义的开始设置(颜色在左侧的梯度,开始半径)的气泡。距离发射器50单位以外的粒子将在近距离和远距离(开始和结束)值之间进行插值。
远距离[0. . + ∞ m ]
The part of the sphere inside which distance effects take place is defined by the Near Range and Far Range values.
球体内部发生距离效果的部分由近距离和远距离值确定。
These two parameters define the radii of two concentric spheres placed around the emitter; together they define a cavity within which distance effects can be applied. Puffs in this cavity between the inner and outer spheres may have their color, radius and luminosity adjusted according to how far away they are from the inner sphere. If you want the gradients to control puffs the moment they are emitted, set Near Range to 0.
这两个参数定义了放置在发射体周围的两个同心球体的半径; 它们共同定义了一个可以施加距离效果的空腔。在内球和外球之间的这个空腔中的泡沫可以根据它们离内球的距离调整它们的颜色、半径和亮度。如果您希望梯度控制喷出的瞬间,请将近距离设置为0。
Note: The Far Range must be greater than the Near Range. 注意: 远距离必须大于近距离例子
A Far Range of 100 would cut off the blending of parameters as soon as the particles are 100 units away from the emitter. All particles farther than 100 units from the emitter will be drawn as puffs using the defined end settings (color at right of gradient, end radius). Particles within 100 units of the emitter will be interpolated between the Near and Far Range (Start and End) values..
当粒子距离发射器100单位时,100的远距离就会切断参数的混合。距离发射器100单位以外的所有粒子都将被绘制为使用定义的端点设置(颜色在梯度右侧,端点半径)的喷口。发射器100个单位以内的粒子将在近距离和远距离(开始和结束)值之间进行插值。.
半径
The radius gradient defines the puff’s radius based on the particles’ distance to the emitter. The left end of the gradient defines the puff’s near range radius. The right end of the gradient defines the puff’s far range radius.
半径梯度基于粒子到发射器的距离确定了烟团半径。梯度的左端定义了粉扑的近距离半径。梯度的右端定义了粉扑的远距离半径。
例子:
亮度
For details on using gradients, look up 有关使用渐变的详细信息,请查看Using gradients 使用渐变 in the index. 在索引中These gradients control the radius and luminosity of puffs depending on their distance from the inner cylinder wall. The left edge of the gradient represents the Near Range value, the right edge represents the Far Range value. A white color on the gradient means the puffs will stay the same size or luminosity. A black color means zero radius or no luminosity, while gray values are intermediate values.
这些梯度控制半径和光度的喷出取决于他们的距离内筒壁。梯度的左边缘表示近距离值,右边缘表示远距离值。梯度上的白色意味着泡芙保持相同的大小或亮度。黑色意味着零半径或没有亮度,而灰色值是中间值。
Reminder: This effect is based on the distance a particle lies from an emitter. 提醒: 这个效果是基于粒子与发射器的距离The left end of the gradient represents the Near Range, the right the Far Range. This effect can be used when creating heat or burning effects.
渐变的左端代表近距离,右端代表远距离。这种效果可以用于产生热效果或燃烧效果。
In the image below, the radial Distance Effect is shown. The inner sphere (yellow) represents the Near Range (left end of gradient) and the outer, darker sphere represents the Far Range (right end of gradient).
在下面的图像中,显示了径向距离效果。内部球面(黄色)代表近距离(梯度的左端) ,外部较暗的球面代表远距离(梯度的右端)。
Study the examples below to better understand the influence the Luminance gradient has.
研究下面的例子,以便更好地理解亮度梯度的影响。
The examples show how areas that glow (100% additive) correlate to the white areas of the gradient. This is a very useful option for simulating the blast of a rocket engine or similar fiery effects.
这些例子显示了发光区域(100% 添加剂)是如何与梯度的白色区域相关联的。这是一个非常有用的选择,模拟爆炸的火箭发动机或类似的火焰效果。
色彩搭配
If you have not done so already, go ahead and read Working with PyroCluster.
如果您还没有这样做,请继续阅读使用 PyroCluster。
With the Color Mix and Color gradients you can control how the color of puffs in the cavity should change. As with the Radius and Luminosity gradients, the left edge of the gradient represents the Near Range value, the right edge represents the Far Range value.
通过颜色组合和颜色梯度,你可以控制空腔中的气泡的颜色应该如何改变。与半径和亮度梯度一样,梯度的左边缘代表近距离值,右边缘代表远距离值。
The color defined by the Color gradient is mixed with the base color of puffs, as defined on the Globals page. The Color Mix gradient controls how these two colors are mixed. White means only the color of the puffs inside the cavity is used, while black means only the base color is used; with gray values, these two colors are mixed.
由 Color 渐变定义的颜色与在 Globals 页面上定义的基本颜色混合。Color Mix 渐变控制这两种颜色的混合方式。白色意味着只使用腔内膨胀物的颜色,而黑色意味着只使用基本颜色; 对于灰色值,这两种颜色混合在一起。
In addition, the Color gradient includes an alpha gradient that enables you to control the opacity of puffs in the cavity
此外,颜色渐变包括一个阿尔法梯度,使您可以控制不透明的泡芙在空腔
A pure white (RGB:255,255,255) will result in the voxel being colored to 100% with the distance gradient’s color. The global page’s initial color will not be added. All grayscale values in-between will be a mix of both colors.
一个纯白色(RGB: 255,255,255)将导致体素颜色与距离渐变的颜色100% 。不会添加全局页面的初始颜色。中间的所有灰度值将是两种颜色的混合。
Note: 注意:The color mixer effect (i.e. how the voxel’s base color is mixed with the distance gradient) is in turn dependent on the distance a particle lies from the emitter.
色彩混合效果(即体素的基色与距离梯度的混合方式)依次取决于粒子与发射器的距离。
颜色
With the Color gradient you have two gradients in one. A gradient controls the color (left) while another controls the transparency (right) of puffs in the cavity.
使用颜色渐变,你可以将两个渐变合二为一。一个梯度控制颜色(左) ,而另一个控制透明度(右)的泡芙在空腔。
With the Color Mix and Color gradients you can control how the color of puffs in the cavity should change. As with the Radius and Luminosity gradients, the left edge of the gradient represents the Near Range value, the right edge represents the Far Range value.
通过颜色组合和颜色梯度,你可以控制空腔中的气泡的颜色应该如何改变。与半径和亮度梯度一样,梯度的左边缘代表近距离值,右边缘代表远距离值。
The color defined by the Color gradient is mixed with the base color of puffs, as defined on the Globals page. The Color Mix gradient controls how these two colors are mixed. White means only the color of the puffs inside the cavity is used, while black means only the base color is used; with gray values, these two colors are mixed.
由 Color 渐变定义的颜色与在 Globals 页面上定义的基本颜色混合。Color Mix 渐变控制这两种颜色的混合方式。白色意味着只使用腔内膨胀物的颜色,而黑色意味着只使用基本颜色; 对于灰色值,这两种颜色混合在一起。
In addition, the Color gradient includes an alpha gradient that enables you to control the opacity of puffs in the cavity.
此外,颜色渐变包括一个阿尔法梯度,使您可以控制不透明的泡芙在空腔。
As you can see in the example above, the distance gradient can also alter the volume’s transparency (density) according to distance. This is done by the alpha gradient. This lets you easily transform dark, oily smoke to transparent steam.
正如您在上面的例子中看到的,距离梯度还可以根据距离改变体积的透明度(密度)。这是通过 alpha 梯度完成的。这可以让你轻松地将黑色、油性的烟雾转化为透明的蒸汽。