Jump to content
zakdances

"Simple" transforms are eluding me

Recommended Posts

I'm trying to make simple patterns/tessellations like the first image (randomized 1 axis rotations, etc.). But my geometry won't lie flat or line up with the grid. I've tried many different orient values, but I can't seem to do a simple 1 axis rotation. It always looks like I spilled potato chips on the ground. Am I just using the wrong quaternion values or is there something wrong with each shapes anchor point? Do I need to nest each triangle in a square plane before rotating them?

 

 

simple_pattern.png

chaos2.png

chaos.png

triangle_grid_v4.hiplc

Share this post


Link to post
Share on other sites

Hi,

using your file: moving/rotating the triangle, that the midpoint of the longest line is in the center, extract the primitive centers of the grid, getting random values (0, 0.25, 0.5, 0.75)  and multiplying them with 2*PI and construct a rotation matrix (convert it to quaternion attribute).  

triangle_grid_v4_mod.hipnc

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×