db&w documentation wiki

finest software | finest docs

Site Tools


tools:raytype_comp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
tools:raytype_comp [2019/01/29 00:12] lightwolftools:raytype_comp [2020/04/30 21:24] – [Ray Type controls] lightwolf
Line 3: Line 3:
 {{ :tools:raytypecomparison.png?nolink|}} {{ :tools:raytypecomparison.png?nolink|}}
  
-Thus node is only available in a node editor context where raytracing is available. It will check the current (incoming) ray for specific properties and return true if they match.+This node is only available in a node editor context where raytracing is available. It will check the current (incoming) ray for specific properties and return true if they match.
  
-===== User Interface Controls =====+The incoming ray is the ray evaluating the current surface spot. 
 + 
 +===== Controls =====
  
 ==== Pass-through ==== ==== Pass-through ====
Line 15: Line 17:
 These two columns are ray properties to check for. The first column depends on the type of ray, the second column covers additional properties. These two columns are ray properties to check for. The first column depends on the type of ray, the second column covers additional properties.
  
-The types of ray are mutually exclusive. A ray can only be on of these type, but not a combination of them:+The types of ray are mutually exclusive. A ray can only be one of these types, but not a combination of them:
  
   * **Reflection** The current spot is shaded for a reflection.   * **Reflection** The current spot is shaded for a reflection.
Line 39: Line 41:
  
 ==== Invert Check ==== ==== Invert Check ====
 +
 +This just inverts the result of the check from true to false and vice versa.
 ==== Boolean Operator ==== ==== Boolean Operator ====
-==== Invert Output ==== 
  
-===== Node Connections =====+This control is only available if the Boolean input is connected. It will cause the value of the Boolean input to be combined with the result of the ray type check using Boolean Logic as explained [[tools:bool_logic#operation|here]]. 
 +==== Invert Output ==== 
 + Inverts the output of the result of the Boolean Operation. 
 +===== Connections =====
 {{ :tools:raytypecomparison_node.png?nolink|}} {{ :tools:raytypecomparison_node.png?nolink|}}
 +
 +==== Boolean ====
 +
 +This allows you to connect another boolean value to this node.
 +
 +If this input is connected, you can use [[#Pass-through]] to completely by-pass this node or the [[#Boolean Operator]] to combine this input with the result of the comparison in the node.
 +
 +==== Ray Type ====
 +
 +An alternative way to input a specific ray type into the node. Usually the node will fetch the ray type from the current context, so it's not needed.
 +
 +==== Boolean (Output) ====
 +
 +Either 0 if the result of all operations is false, or 1 if it is true.
  
  
Line 49: Line 69:
 [[https://www.patreon.com/dbw|{{  ::become_a_patron_button.png?nolink|}}]] [[https://www.patreon.com/dbw|{{  ::become_a_patron_button.png?nolink|}}]]
  
-This is the plugin of the month for November 2018, made possible by the finest patrons on [[https://www.patreon.com/dbw|Patreon]].+This is the plugin of the month for January 2019, made possible by the finest patrons on [[https://www.patreon.com/dbw|Patreon]].
tools/raytype_comp.txt · Last modified: 2020/04/30 21:33 by lightwolf