Sorting mesh faces using an add node?
2877 17 2- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
- Ivan L
- Member
- 201 posts
- Joined: Jan. 2014
- Offline
you can reference the position from a null or "add" node?
RMB - "paste relative reference"
RMB - "paste relative reference"
I contribute to the beauty of this world
https://houdininotes.ivanlarinin.com/ [houdininotes.ivanlarinin.com]
https://houdininotes.ivanlarinin.com/ [houdininotes.ivanlarinin.com]
- eikonoklastes
- Member
- 399 posts
- Joined: April 2018
- Online
- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
- sepu
- Member
- 462 posts
- Joined: Feb. 2012
- Offline
- tamte
- Member
- 8854 posts
- Joined: July 2007
- Offline
proceduralistmake sure the visualizer for mask attribute is on
If I try to do the same setup at my end, I don't get any mask
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
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
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
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
Edited by proceduralist - Sept. 12, 2022 02:02:12
- sepu
- Member
- 462 posts
- Joined: Feb. 2012
- Offline
- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
- sepu
- Member
- 462 posts
- Joined: Feb. 2012
- Offline
- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
- animatrix_
- Member
- 4733 posts
- Joined: Feb. 2012
- Offline
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.
Use mask for the PolyExtrude's Distance Scale:
Use mask for the PolyExtrude's Distance Scale:
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- eikonoklastes
- Member
- 399 posts
- Joined: April 2018
- Online
- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
Thanks a lot.
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.
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.
Image Not Found
Edited by proceduralist - Sept. 12, 2022 08:58:25
- eikonoklastes
- Member
- 399 posts
- Joined: April 2018
- Online
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.
Edited by eikonoklastes - Sept. 12, 2022 07:27:36
- proceduralist
- Member
- 203 posts
- Joined: May 2021
- Offline
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.
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.
Edited by proceduralist - Sept. 12, 2022 09:50:12
- eikonoklastes
- Member
- 399 posts
- Joined: April 2018
- Online
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.
-
- Quick Links