Help me understand Divide>Bricker angle

   1278   2   0
User Avatar
Member
22 posts
Joined: 11月 2016
Offline
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!
Edited by traden1976 - 2020年6月18日 13:13:16
User Avatar
Member
670 posts
Joined: 9月 2013
Offline
Hi Traden,

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;

Attachments:
bricker_divide.hipnc (95.2 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
22 posts
Joined: 11月 2016
Offline
Thanks for the reply. That will be a good workaround!

Any guidance on using the bricker's Angle parameter to set it to the angle of a prim? Just curious.
  • Quick Links