Quantcast
Channel: Rotation of instances on instances after realizing base instances - Blender Stack Exchange
Viewing all articles
Browse latest Browse all 2

Rotation of instances on instances after realizing base instances

$
0
0

This is my first question here, i'd be so happy if you could help me out!

I'm building a procedural plant generator based on a spiral curve. I scatter the spiral as instances on a mesh, rotation aligned to the base mesh normals. Then i instance leaves on the points of the spiral and set the rotation so each leave is facing outwards from the center of the spiral. That works just fine by providing the vector from curve center to points on spiral and align euler to vector.

But ones i realize the spiral instances, the rotation of the leaves is off.

I did few hours research yesterday without finding a solution. I'm sure it can be solved with vector math, but i'm not good at it yet and also i don't understand what exactly changes with 'realizing instances'. I read the manual regarding this, but i can't wrap my head around what it means and how i have to manipulate vectors in this case to make it work.

I attached screenshots, first one showing desired rotation without realizing, second false rotation after realizing instances. Also i attached a simplified test .blend

Thanks for any help, explanations also highly appreciated!

enter image description here

enter image description here


Viewing all articles
Browse latest Browse all 2

Trending Articles