@matej: this stuff is just an excuse for studying the c4d node scripting system (something similar to XSI ICE) called xpresso. it's just a temporary solution waiting for a more professional and easy one.

Since my mathematical knowledge is really basic, i've found very hard to menage matrix and vectors; every time i've tryed to multiply a matrix i've lost myself in few minutes

since i must decompose the global matrix in the 12 digit scheme, it's more easy, for my old brain, finding the right formula for rotation and scaling for the relative nine digits.

it's the more complex node script that i ever builded and i'm very surprised that it works pretty well

so, in conclusion, i've learned a lot about xpresso and i can play easily with octane instance scatter node, not a completely waste of time

unfortunately i can't rotate an object in all the axis simultaneously for now

ciao beppe