dpap Posted December 3, 2013 Share Posted December 3, 2013 Hi guys! I want to align instances (scaled boxes in this exaple) in a way that they follow the orientation of the edges of the template geometry. I have defined the "rot" and "orient" point parameters needed by the copy sop but something goes wrong with edgeflow vectors that I get from the Polyframe node (pic1). And this causes the irregularity you see at pics 2 and 3. Is there way to fix this somehow? Or maybe an alternative way to obtain the edgeflow vectors? Thanks! Instances Aligned to edge flow 2.hipnc Quote Link to comment Share on other sites More sharing options...
anim Posted December 5, 2013 Share Posted December 5, 2013 Polyframe SOP in First Edge mode will give you the vector in direction of the first edge which is not necessarily the direction you may expect but it heavily depends on the topology to control it better you can get direction vector based on uv gradient or any attribute gradient in Polyframe SOP torus_gradient_from_attribute.hipnc 3 1 Quote Link to comment Share on other sites More sharing options...
dpap Posted December 5, 2013 Author Share Posted December 5, 2013 (edited) Thank you very much Anim!!! Very nice approach! it heavily depends on the topology you are so right! Edited December 5, 2013 by dpap Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.