I have setup a system that uses sorting of mesh faces based on their proximity to a point and then colour is assigned to them. Based on that colour, extrusion scale is setup.
How can I use use point(s) separately (using an add node maybe) that allows me to have more control?
Change the distance to outside geo or from surface, if you want the inside to work make your box bigger since you have a big radius. If you want the pt to work you need to change reference grp type to point, this will work with both btw.
proceduralist If I try to do the same setup at my end, I don't get any mask
make sure the visualizer for mask attribute is on
also your Distance Metrics is set to Distance Inside Geometry, in your case you most likely want Distance From Surface if you are planning to use Reference Group Type Primitive to get distance from your cube faces or change Reference Group Type to Points if you want distances from individual points
Thank you @tamte and @sepu. I toggled on the visualizer and that did it. Now I am able to get the mask, now how to integrate this into the attrib vop?
I am trying to get this kind of setup. I want to add multiple points (or geometries) and let the extrusions get affected accordingly with the noise. In the original post, I could achieve that with only one point. I made this arrangement through scripting inside Grasshopper plugin for Rhino
You can promote mask from point to prim attribute using Attrib Promote and split each primitive using Primitive Split so they can be extruded individually.
Okay. This is an interesting effect which I did not intend but looks cool for experimentation. If I use a point class in atrib adjust and then promote it to primitive, I get this. The extrusion remains only in the area of masking.
If I choose 'primitive' in the attribute class for attribute adjust, I get this. Why does the unmasked geometry also get extruded in almost the same height range?
Moreover, I am looking for this animated effect that gets affected by two or more masks and ripple travels throughout the grid. How to do that? https://imgur.com/a/OzU8Vos [imgur.com]
I shared the hip file in the original post. Here's the hip file with the attrib adjust method.
proceduralist If I choose 'primitive' in the attribute class for attribute adjust, I get this. Why does the unmasked geometry also get extruded in almost the same height range?
At this point you probably want to brush up on how attributes work in Houdini.
By setting the Attrib Adjust Float SOP to operate on Primitives, you're generating a primitive attribute called 'mask' that has no relation to the point attribute (also called 'mask') that you created with the Mask From Geometry SOP.
A quick glance at your Geometry Spreadsheet would inform you on what's happening.
Okay. Just checked the geometry spreadsheet. Even though 'mask from geometry' gives the option of primitives in the drop down menu for 'reference group type', it does not give any masking values to primitives ......
and gives values to points instead despite me choosing primitives in the reference group type.
Why is that? Is it only supposed to work on points only?
The attrib adjust float generates new values for primitives though.
At this point, I'd say brush up on some general Houdini fundamentals, particularly groups and attributes. Your questions stem from a fundamental lack of understanding of how things work. Also check the documentation for the nodes. You can get context-sensitive help for each node by clicking the little help icon in the Parameters pane.