Hi everyone.
I have written a new simple and useful node : "PointExt" contained into the file "basicExt.js".
It's almost identical to "Basic/Point" node and the the only difference is that my "PointExt"
exposes also the others PointArray's properties, that is AngleX, AngleY, AngleZ and pSize.
Using the great "Points2/spliPts" node (many thanks to its author) and my "PointExt" node I was able to "mimic" the behavior
of the node of which I spoke in some previous posts, that is, the node "ArrayMathTrasformations" that should do these things :
code:
- Input :
- PointArray
- Math formula to apply to "X" values of each array element
- Math formula to apply to "Y" values of each array element
- Math formula to apply to "Z" values of each array element
- Math formula to apply to "AngleX" values of each array element
- Math formula to apply to "AngleY" values of each array element
- Math formula to apply to "AngleZ" values of each array element
- Math formula to apply to "pSize" values of each array element
- Output :
- The resulting PontArray
With the opportunity to include into every single math formula, a reference to the fields of the PointArray structure.
Here's the new nodeeditor_0_85_mod6 archive : http://take.ms/RfzWH that contains also my new "PointExt" node.
Here's a brief video : http://take.ms/zJDVN
And here's the .nod file : http://take.ms/WHASK
Performances are rather weak but I think that with all job done in one single node (ArrayMathTrasformations) things would improve.
Best,
|