+1
Completed

Inner Product/Matrix Product Node

Andrei Nadin 11 years ago updated by Freya Holmér (Developer) 11 years ago 2
There should be a node with three input vectors and an input reference vector. Imagine the inputs:
[ref]
[c1]
[c2]
[c3]
[c4]


Outputting a vector which is: c1*ref.r + c2*ref.g + c3*ref.b + c1*ref.a
It's *very* similar to the dot product. I believe they are both Inner products, so perhaps this node could be called inner product? Or is it a matrix product?

Answer

Answer
Completed
This node has now been implemented in 0.24 under the name "Channel Blend"

Thanks for posting :)
Will look into this later
Completed
This node has now been implemented in 0.24 under the name "Channel Blend"
Answer
Completed
This node has now been implemented in 0.24 under the name "Channel Blend"

Quick question about this, should/could it work with normals? at the moment the output from the Channel Blend does not go into the normal slot.
It should work as long as the inputs are all 3-component values
<doh!> yup, thats what I did wrong, mask was 4 - sorry