jon3de Posted December 12, 2015 Share Posted December 12, 2015 Hi, Just playing around width SOPs and encountered something I do not understand. I created a Grid and a Line with the attribute "weight". Than the Line width attribute is transfered to the Grid. After that the weight attribute is used to displace the geometry in y. The question is...the Point SOP only works if I use a attribute create SOP. If a attribute Wrangle SOP is used the Point SOP does not work. Then I have to use a vop network...that works just fine. I thought its does not matter if I use wrangle or attribute create Sop apart from speed advantage. kind regards Jon Attrib_Create_Question.hipnc Quote Link to comment Share on other sites More sharing options...
jrockstad Posted December 12, 2015 Share Posted December 12, 2015 $WEIGHT is a local variable used by the Point SOP - it does not correspond to the value of an existing 'weight' attribute you may happen to have on your incoming geometry. Using the Attribute Create SOP in this case makes its own $WEIGHT variable you can use with the correct values. Using an Attribute VOP or Wrangle for the deformation is probably the best solution in any case - it will definitely be faster and is more in line with current best practices in Houdini. 1 Quote Link to comment Share on other sites More sharing options...
jon3de Posted December 13, 2015 Author Share Posted December 13, 2015 Ah thank you very much! I totally forgot about the local variables. Yes i try to do the most things with Attribute VOP or Wrangle but here I tried to imitate the nice examples of the cgwiki ( http://www.tokeru.com/cgwiki/index.php?title=Houdini) with different ways. Thanks again. Jon 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.