noc2 Posted May 10, 2019 Share Posted May 10, 2019 (edited) Hi there; I'm kind of confused with the way mountain SOP works. As I've read on some of the topics here on this forum, the mountain SOP doesn't recognize (at least as of version 16) point attributes and that's what I'm trying to get it to do essentially. I've also read here that the VOP network that the SOP is comprised of, due to its very construction, recognizes point attributes with a prefix of "parm_" instead of their raw names. No matter what I've tried so far, I haven't been able to pass a point attribute to control say, the "height" attribute or "gain" attribute with an expression like: point(0, @ptnum, "attrib", 0) Any help would be wildly appreciated Cheers; AJ Edited May 10, 2019 by noc2 Quote Link to comment Share on other sites More sharing options...
morn66 Posted May 11, 2019 Share Posted May 11, 2019 Hey! Not sure what you really want to achieve but I found that the mountain node react to the attribute @height. 1. Before the moutain node, use a wrangle node and write your code for the height. Exemple for a grid 50 by 50 if(@ptnum >= 1250) @height = .5; else @height = 1; 2. After that, you dont need to write anything in the mountain node, it will already apply the change for the height Let me know if this is what you wanted to do. Cheers Quote Link to comment Share on other sites More sharing options...
Atom Posted May 11, 2019 Share Posted May 11, 2019 The @height works because the HDA uses a Bind to import that attribute. The other parameters can be overridden using the @parm_ prefix. 1 Quote Link to comment Share on other sites More sharing options...
noc2 Posted May 11, 2019 Author Share Posted May 11, 2019 (edited) Thanx so much your replies, morn66 and Atom. Now I get the picture. What I was intending to do was to displace the certain points on a piece of geometry according to a predetermined per point height attribute, and now I know that it is literally "height" But now, I'm having trouble trying to figure out how I can keep the displacement centered around the undisplaced point positions :-/ Attribute blur just doesn't help at all. The height attribute was created on the points in a corners group created automatically by a previous polybevel sop. You can see in the attached image that the displacement always goes above the median when "center Noise" is not checked or inside when checked. How can I tell Houdini to have the displacement take place along the median point positions? Do I need to dive inside the vop net and fiddle with the vop nodes? Thank you Edited May 11, 2019 by noc2 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.