Octonions

Hi devvvvs,

I wanted to patch a Fano plane using octonions nodes and I noticed that the * node seems to be broken, probably cause I implemented it with a “&” overloaded operator.

Considering that the node is based on an old template I should updated it and fi it.

I’m opening this thread to ask devvvvs if you agree with my proposed solution: I think it could be better if I remove the octonion nodes from vvvv-sdk and move it to a contribution.

What do you think about it?

and distribute them in a binary format? don’t see the benefit… what is broken btw.? i’ve no idea what the node should do ;) but if i simply create it, assign some values to its four inputs it outputs something. so that part seems to work. when i open the help patch i get a strange range check error in a color switch node, no idea where that comes from. probably the -1 on the switch input? but could be a completely different issue and unrelated to your node.

i think you should leave it in the sdk. you get the benefit that your node gets automatically built and shipped with the addonpack. moving it to the contributions you would need to take care of that yourself.

The node seems to work but it is broken cause the output is not what I expect.

For example if you multiply and octonion (1,0,0,0,0,0,0,0) with itself you obtain 0, it should be (-1,0,0,0,0,0,0,0).

I will fix it leaving it in the sdk, thank you for your opinion.

would be nice to know what broke it …

I used the “&” operator as quaternion multiplication, now there is an overloaded “*” operator from Vector4D.

Here is the pull request https://github.com/vvvv/vvvv-sdk/pull/112