# db&w documentation wiki

finest software | finest docs

tools:ratio

# Differences

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

 tools:ratio [2013/10/17 15:29]lightwolf tools:ratio [2013/10/17 16:26]lightwolf [Outputs] Both sides previous revision Previous revision 2013/10/17 16:26 lightwolf [Outputs] 2013/10/17 15:32 lightwolf 2013/10/17 15:29 lightwolf 2013/10/17 15:25 lightwolf created Next revision Previous revision 2013/10/17 16:26 lightwolf [Outputs] 2013/10/17 15:32 lightwolf 2013/10/17 15:29 lightwolf 2013/10/17 15:25 lightwolf created Line 1: Line 1: ====== Ratio ====== ====== Ratio ====== The Ratio node takes an input colour and/or scalar and splits it into two values defined by a ratio. The Ratio node takes an input colour and/or scalar and splits it into two values defined by a ratio. + + Both a colour and a scalar can be split at the same time using an identical ratio ===== Controls===== ===== Controls===== {{ :​dbw:​tools:​ratiogui.png?​nolink|}} {{ :​dbw:​tools:​ratiogui.png?​nolink|}} - * **Colour** + * **Colour** ​The colour to split into two values - * **Scalar** + * **Scalar** ​The scalar to split into two values - * **Ratio** + * **Ratio** ​This percentage determines how much of the colour/​scalar is returned as the main component. What is left is returned as the remainder. ===== Inputs===== ===== Inputs===== - * **Vector** + * **Vector** ​This is the vector/​colour to split - * **Scalar** + * **Scalar** ​The scalar to split - * **Ratio** + * **Ratio** ​The ratio, as explained above. ​ ​ ===== Outputs===== ===== Outputs===== {{ :​dbw:​tools:​rationode.png?​nolink|}} ​ {{ :​dbw:​tools:​rationode.png?​nolink|}} ​ - * **Vector** + * **Vector** ​The input vector multiplied by the ratio - * **RemColour** + * **RemColour** ​The input colour multiplied by the remainder of the ratio (what'​s left to make it 100%) - * **Scalar** + * **Scalar** ​The input scalar multiplied by the ratio - * **RemScalar** + * **RemScalar** ​The input scalar multiplied by the remainder of the ratio