evanrudefx Posted September 11, 2018 Share Posted September 11, 2018 Hi, I am trying to set up controls for rotating the geometry created by polywire. I saw this post, but the scene doesn't work for me. https://forums.odforce.net/topic/25804-how-to-turnrotate-an-polywire/ I figured out how to gain some control by creating a local variable upvector and binding the joint up vector in poly wire to it. The part that confuses me is how to just create a slider that would allow me to continuously rotate, like in the example in my scene. Thanks in advance rotate_polywire.hiplc Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted September 11, 2018 Share Posted September 11, 2018 Hi Evan, I fix the scene from the topic that you pointed at and I added checkbox for only rotation or spiral. See red attribute VOP. orient_polywire_sweep.hipnc 2 Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted September 11, 2018 Author Share Posted September 11, 2018 Thanks! when I get a chance I will check this out!!! Quote Link to comment Share on other sites More sharing options...
Saya Posted November 29, 2019 Share Posted November 29, 2019 On 11-9-2018 at 3:37 PM, vicvvsh said: Hi Evan, I fix the scene from the topic that you pointed at and I added checkbox for only rotation or spiral. See red attribute VOP. orient_polywire_sweep.hipnc Just what I needed. I do have trouble understanding what you done in the AttribSop. As far as I do understand you need to alter the upvector on everypoint. Could you elaborate on how it works? if you have the time. Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted November 29, 2019 Share Posted November 29, 2019 3 hours ago, Marcomeeuwse said: Just what I needed. I do have trouble understanding what you done in the AttribSop. As far as I do understand you need to alter the upvector on everypoint. Could you elaborate on how it works? if you have the time. I don't remember what exactly i did, this was more then one year ago. I copied "rotate_upvectors" attribute vop, cleaned it up and added a checkbox, that's it. How it works? If i understood your question correctly it just multiplying rotation angle value to first component of @uv, which has value from 0 to 1. Then we multiply v@upvector by matrix which we are getting within rotate vop. 1 Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted December 2, 2019 Share Posted December 2, 2019 The setup breaks if you move it outside of origo. Did some minor changes to it. orient_polywire_sweep_fix.hipnc Quote Link to comment Share on other sites More sharing options...
Saya Posted December 3, 2019 Share Posted December 3, 2019 Thanks for the explanation and fix it helped 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.