phong Posted August 5, 2013 Share Posted August 5, 2013 Hi! I was just wondering how I can access custom point attributes in SHOP? Get Point Attribute gives me strange results and so does PointAttribute. Any ideas? Thanks, Nhat Quote Link to comment Share on other sites More sharing options...
jonp Posted August 5, 2013 Share Posted August 5, 2013 I assume this is in a Material shader builder SHOP. Create a "bind" VOP, name it the same as your attribute and set the data type to match as well. Quote Link to comment Share on other sites More sharing options...
phong Posted August 5, 2013 Author Share Posted August 5, 2013 Yes this is in a material shader builder SHOP. Where would I find the bind VOP? Didn't show up in the material builder. Thanks for helping Jon! Quote Link to comment Share on other sites More sharing options...
Hudson Posted August 6, 2013 Share Posted August 6, 2013 You have to bee inside your material, or vop-network in orther to create a bind-node See attatched bind_in_builder_shop.hipnc Quote Link to comment Share on other sites More sharing options...
phong Posted August 8, 2013 Author Share Posted August 8, 2013 Hi thanks for replying! The bind node shows up as an "Add" node called "Bind1" in my mantrasurface node and is in error state. Am I running a too old Houdini version (12.0.543.9)? Quote Link to comment Share on other sites More sharing options...
Alexander Saraev Posted August 8, 2013 Share Posted August 8, 2013 Try Parameter VOP on 12.0 instead. Quote Link to comment Share on other sites More sharing options...
phong Posted August 8, 2013 Author Share Posted August 8, 2013 Tried that, but it takes whatever default value is set there. Or do I have to write a short little VEX code to gather the vertex attributes? Quote Link to comment Share on other sites More sharing options...
Alexander Saraev Posted August 9, 2013 Share Posted August 9, 2013 (edited) Hey. Check the file, if you hit render you can see it's working. You just have to name your parameter properly (matching attribute name) and set correct data type (float, vector). AttributesInSHOP.hipnc Edited August 9, 2013 by Alexander Saraev 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.