I have a Divide/Bricker node inside a for loop(primitives). Each iteration I'm grabbing the normal of the prim converting it to degrees and feeding the value into the bricker angle. My hope is that I will get an even distribution of squares on any prim no matter the angle.
Unfortunately it's not working. Rotation seems to behave oddly to me, I thought it would just be a projection.
thanks in advance!
Help me understand Divide>Bricker angle
1279 2 0- traden1976
- Member
- 22 posts
- Joined: 11月 2016
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: 9月 2013
- Online
Hi Traden,
would be better if you share an exemplary file. Anyways, here is a procedure that does not require a for loop.
rotate:
divide.
rotate back:
would be better if you share an exemplary file. Anyways, here is a procedure that does not require a for loop.
rotate:
vector nml = prim_normal(0, i@primnum, 0.0); 3@rot = dihedral(nml, {0,1,0}); v@P *= 3@rot;
divide.
rotate back:
matrix3 rot_back = invert(3@rot); v@P *= rot_back;
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- traden1976
- Member
- 22 posts
- Joined: 11月 2016
- Offline
-
- Quick Links