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

From Neos Wiki
Jump to navigation Jump to search
(Created page with "Sample Color (LogiXノード)")
 
(Updating to match new version of source page)
 
(9 intermediate revisions by one other user not shown)
Line 14: Line 14:
 
}}
 
}}
  
The '''Sample Color''' outputs the visible color sampled in a line along the input <code>Direction</code> vector from the input <code>Origin</code> when an impulse is received at <code>Sample</code>.
+
'''Sample Color'''は、<code>Sample</code>へインパルスを入力したとき、入力<code>Origin</code>から入力<code>Direction</code>ベクトルに沿って一列にサンプリングした可視色を出力します。
  
== Usage ==
+
== 使用方法 ==
The color is sampled after applying all effects of lighting, shadows, emissives, alpha blending of materials etc. along the sampling direction.
+
サンプリング方向に沿って、ライティング、シャドウ、エミッシブ、マテリアルのアルファブレンドなどの効果をすべて適用した後に、色をサンプリングします。
  
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.
+
<code>Reference</code>入力は、OriginとDirectionのベクトルのローカル座標空間の基準スロットです。これはデフォルトではルートスロットであり、[[Coordinate spaces/ja|グローバル座標空間]]が使われることを意味します。
  
  
The <code>NearClip</code> input sets a lower bound on the distance at which objects will be included in the sampling. Anything closer to the input <code>Origin</code> than the <code>NearClip</code> value will be ignored.
+
<code>NearClip</code>は、オブジェクトがサンプリングに含まれる距離の下限を設定する入力です。<code>NearClip</code>の値よりも入力の<code>Origin</code>に近いものは無視されます。
  
  
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>の値より遠いものは、無視されます。
  
  
The <code>OnSampleStart</code> output fires an impulse when the sampling operation begins. This is the impulse passthrough output for the <code>Sample</code> input. Note that the <code>Color</code> output ''will not'' yet have the sampled color value!
+
<code>OnSampleStart</code> 出力は、サンプリングが開始されるとインパルスを出力します。これは、<code>Sample</code>入力に対するインパルスのパススルー出力です。<code>Color</code> 出力は、まだサンプリングされた色の値を持っていないことに注意してください!<code>OnSampled</code>出力は、サンプリングされた色の値を持っています。
  
  
The <code>OnSampled</code> output fires an impulse when the sampling operation completes. The sampled color will be available from the <code>Color</code> output for the duration of the impulse chain stared by <code>OnSampled</code>. Note that other transient values available during the impulse chain which arrives at <code>Sample</code> and continues from <code>OnSampleStart</code> ''may not'' be available during the impulse chain initiated from <code>OnSampled</code>.
+
<code>OnSampled</code> 出力はサンプリング動作が完了するとインパルスを出力します。サンプリングされた色は、<code>OnSampled</code>で指定されたインパルス連鎖の間、<code>Color</code>出力から利用可能です。<code>Sample</code>に到着し、<code>OnSampleStart</code>から続くインパルス連鎖の間、他の過渡値は''利用できないかもしれない''ことに注意しましょう。
  
== Examples ==
+
== ==
  
== Node Menu ==
+
== ノードメニュー ==
 
[[Category:LogiX{{#translation:}}|Sample Color]]
 
[[Category:LogiX{{#translation:}}|Sample Color]]
 
[[Category:LogiX:Rendering{{#translation:}}|Sample Color]]
 
[[Category:LogiX:Rendering{{#translation:}}|Sample Color]]
{{NodeMenu-Rendering{{#translation:}}}}
+
{{NodeMenu-Rendering}}

Latest revision as of 05:25, 20 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の値より遠いものは、無視されます。


OnSampleStart 出力は、サンプリングが開始されるとインパルスを出力します。これは、Sample入力に対するインパルスのパススルー出力です。Color 出力は、まだサンプリングされた色の値を持っていないことに注意してください!OnSampled出力は、サンプリングされた色の値を持っています。


OnSampled 出力はサンプリング動作が完了するとインパルスを出力します。サンプリングされた色は、OnSampledで指定されたインパルス連鎖の間、Color出力から利用可能です。Sampleに到着し、OnSampleStartから続くインパルス連鎖の間、他の過渡値は利用できないかもしれないことに注意しましょう。

ノードメニュー

Rendering
Back Bake Reflection Probe Bake Reflection Probes Render To Texture Asset Sample Color