1
$\begingroup$

I'm having trouble looping over an objects (the cylinder) polygon indices while performing an operation / calculation on them.

I created an animation in Octave, (and the calculations are correct I've also verified that the calculations in Animation Nodes are the same). I'm just having problems looping over the indices to produce the same animation using animation nodes that I have in Octave 5.x. See attached animation created in Octave 5.x of how it should look. I've also included the blend file and an image of the node.

The new calculations are generated / how the object should be transformed is controlled by the timeline which represent the number of "degrees" it should rotate.

Please note: I know it looks like a simple rotation but it isn't, it's visualizing / showing different quaternion calculations.

Animated quaternion

The entire node setup: The entire node setup:

The section that does the calculations: The section that does the calculations:

Animated calculations which verify the math is correct Animated Calculations

The section with the vertices I'm trying to loop over: The section with the vertices I'm trying to loop over

I tried using the Object transforms output node, but that does simple rotations I'm trying to have finer control and performing mathematical operations on the indices seems to be the way to go. I'm just having trouble combining the calculations and the looping over all the indices together. I'm trying to get the "mathematical morphing" seen in the animation above using calculations.

Ps: I'm using Blender 2.83 I've also included the texture file below if needed. Texture file

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.