Difference between revisions of "Sample Color (LogiX node)/ja"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "<code>NearClip</code>は、オブジェクトがサンプリングに含まれる距離の下限を設定する入力です。<code>NearClip</code>の値よりも入力の<cod...")
(Created page with "<code>FarClip</code>の入力は、オブジェクトがサンプリングに含まれる距離の上限を設定するものです。入力された<code>Origin</code>から<...")
Line 25: Line 25:
  
  
The <code>FarClip</code> input sets an upper bound on the distance at which objects will be included in the sampling. Anything further from the input <code>Origin</code> than the <code>FarClip</code> value will be ignored.
+
<code>FarClip</code>の入力は、オブジェクトがサンプリングに含まれる距離の上限を設定するものです。入力された<code>Origin</code>から<code>FarClip</code>の値より遠いものは、無視されます。
  
  

Revision as of 04:47, 16 February 2022

Other languages:
English • ‎日本語
Sample Color
'Sample Color' LogiX node
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ベクトルに沿って一列にサンプリングした可視色を出力します。

使用方法

サンプリング方向に沿って、ライティング、シャドウ、エミッシブ、マテリアルのアルファブレンドなどの効果をすべて適用した後に、色をサンプリングします。

Reference入力は、OriginとDirectionのベクトルのローカル座標空間の基準スロットです。これはデフォルトではルートスロットであり、グローバル座標空間が使われることを意味します。


NearClipは、オブジェクトがサンプリングに含まれる距離の下限を設定する入力です。NearClipの値よりも入力のOriginに近いものは無視されます。


FarClipの入力は、オブジェクトがサンプリングに含まれる距離の上限を設定するものです。入力されたOriginからFarClipの値より遠いものは、無視されます。


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.

Examples

Node Menu

Template:NodeMenu-Rendering/ja