UV Layout - get primitive rotation

   789   0   2
User Avatar
Member
3 posts
Joined: March 2017
Offline
Hi everyone,

I'm currently abusing the uv layout node (via the entagma tutorial [vimeo.com]) to pack building bounding boxes onto cityblocks.
This works nicely, the only problem I have: The orientation of my normal vector stays the same before and after packing. ( I set my normal to 1|0|0 before the packing)
Does anyone have an idea how I could get the normal to point into the right (rotated) direction after the packing?
Or is this a dead end with the uv layout node?

I'm mainly using the layout node to get as many buildings into the block as possible. In a later step I'm pulling the buildings to the streets..output the points and copy the final buildings onto them.
This, at the moment, results in wrong orientations as the rotation created by the UV Layout node isn't included in the points normal.

Any hint would be great. I'm currently also looking for other ways to pack the bounding boxes onto the cityblocks…but haven't really found any other feasable technique so far.

Cheers
Daniel
  • Quick Links