Difference between revisions of "Sample Color (LogiX node)/ja"
(Created page with "'''Sample Color'''は、<code>Sample</code>へインパルスを入力したとき、入力<code>Origin</code>から入力<code>Direction</code>ベクトルに沿って一列...") |
(Created page with "== 使用方法 == サンプリング方向に沿って、ライティング、シャドウ、エミッシブ、マテリアルのアルファブレンドなどの効果をす...") |
||
Line 16: | Line 16: | ||
'''Sample Color'''は、<code>Sample</code>へインパルスを入力したとき、入力<code>Origin</code>から入力<code>Direction</code>ベクトルに沿って一列にサンプリングした可視色を出力します。 | '''Sample Color'''は、<code>Sample</code>へインパルスを入力したとき、入力<code>Origin</code>から入力<code>Direction</code>ベクトルに沿って一列にサンプリングした可視色を出力します。 | ||
− | == | + | == 使用方法 == |
− | + | サンプリング方向に沿って、ライティング、シャドウ、エミッシブ、マテリアルのアルファブレンドなどの効果をすべて適用した後に、色をサンプリングします。 | |
The <code>Reference</code> input is the slot in whose local coordinate space the Origin and Direction vectors are interpreted. This is the root slot by default, meaning the [[Coordinate spaces | global coordinate space]] is used. | The <code>Reference</code> input is the slot in whose local coordinate space the Origin and Direction vectors are interpreted. This is the root slot by default, meaning the [[Coordinate spaces | global coordinate space]] is used. |
Revision as of 04:45, 16 February 2022
Sample Color | ||
---|---|---|
Inputs | ||
Impulse | Sample | |
Float3 | Point | |
Float3 | Directtion | |
Slot | Reference | |
Float | NearClip | |
Float | FarClip | |
Outputs | ||
Impulse | OnSampleStart | |
Impulse | OnSampled | |
Color | Color |
Sample Colorは、Sample
へインパルスを入力したとき、入力Origin
から入力Direction
ベクトルに沿って一列にサンプリングした可視色を出力します。
使用方法
サンプリング方向に沿って、ライティング、シャドウ、エミッシブ、マテリアルのアルファブレンドなどの効果をすべて適用した後に、色をサンプリングします。
The Reference
input is the slot in whose local coordinate space the Origin and Direction vectors are interpreted. This is the root slot by default, meaning the global coordinate space is used.
The NearClip
input sets a lower bound on the distance at which objects will be included in the sampling. Anything closer to the input Origin
than the NearClip
value will be ignored.
The FarClip
input sets an upper bound on the distance at which objects will be included in the sampling. Anything further from the input Origin
than the FarClip
value will be ignored.
The OnSampleStart
output fires an impulse when the sampling operation begins. This is the impulse passthrough output for the Sample
input. Note that the Color
output will not yet have the sampled color value!
The OnSampled
output fires an impulse when the sampling operation completes. The sampled color will be available from the Color
output for the duration of the impulse chain stared by OnSampled
. Note that other transient values available during the impulse chain which arrives at Sample
and continues from OnSampleStart
may not be available during the impulse chain initiated from OnSampled
.