rurik Posted August 8, 2014 Share Posted August 8, 2014 If I'm trying to do some positioning of an object based on the position of two other objects, and I'm trying to do that in VOPS, is the best way to have my main object in Input 0 of a VOPSOP and then the two reference objects plugged into inputs 1 and 2, with importAttrib VOPs bringing in P data? It seems like a limiting approach and wondering if there is a better way... Thanks Quote Link to comment Share on other sites More sharing options...
eetu Posted August 8, 2014 Share Posted August 8, 2014 Depends on what you need to know about the reference objects, and whether they are OBJ nodes or SOP nodes. You might well get away by just reading the transform values into parameters with expressions, with ch() in case of OBJ references, and centroid() in case of SOP references. Generally a VOPSOP might not be the right tool for transforming whole objects, as is. ee_objvopsop.hip Quote Link to comment Share on other sites More sharing options...
rurik Posted August 8, 2014 Author Share Posted August 8, 2014 Ah that is a great strategy! What I'm trying to do is re-create something I learned for CInema4d, where using some simple vector math I'm able to create a tool to move a series of copies of objects between two guide objects...It is more of an exercise than a real life project, as Houdini has different tools, but I thought it would be a good way to break in a deeper understanding of vector play in VOPS. Thanks! Quote Link to comment Share on other sites More sharing options...
eetu Posted August 8, 2014 Share Posted August 8, 2014 Copy SOP is an oft-used technique for things of that sort. ee_objline.hip 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.