I'm struggling with a first Houdini project. I have an irregular ground and need to extrude some faces to produce blocks of specific heights (attribute). But I need to flatten the faces that I extruded. I hope this screencopies will help you understand my meaning.
The terrain :
What I want to do with all the primitives :
So far, I end up with this to flatten the top :
vector P = point(0, "P", 0); float PY = P.y; @P.y = PY;
But then I don't really know how to bring back the face to the right Y position.
I'm sure there are better ways to do it. Any idea ?
Thanks !