Hello beautiful community of houdini,
I have previously experimented with creating height field and erosion in houdini on a 2D plane to create this image of landscape that you will see attached, but as my master's thesis is progressing, I am considering if its possible to have the erosion simulation run in 3D dimensional mesh as a simple cylindrical column.
I also have thought about how I can take the end result of eroded landscape and map it on a column, but what am interested in is how I can actually simulate the erosion in a rounded height field, if that even possible with Houdini.
Height field erosion on wrapped mesh (column or cyclinder)
1469 2 1-
- ComputationalMohanned
- Member
- 19 posts
- Joined: Sept. 2023
- Offline
-
- Konstantin Magnus
- Member
- 721 posts
- Joined: Sept. 2013
- Online
Hi ComputationalMohanned,
you can transfer the vertical point positions or any other attribute of the cylinder to the heightfield, erode it, and displace the cylinder surface based on the before/after-difference of the eroded heightfield.
you can transfer the vertical point positions or any other attribute of the cylinder to the heightfield, erode it, and displace the cylinder surface based on the before/after-difference of the eroded heightfield.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
-
- ComputationalMohanned
- Member
- 19 posts
- Joined: Sept. 2023
- Offline
Konstantin Magnus
Hi ComputationalMohanned,
you can transfer the vertical point positions or any other attribute of the cylinder to the heightfield, erode it, and displace the cylinder surface based on the before/after-difference of the eroded heightfield.
This is amazing. Its exactly what I wanted to do. But here is a couple of questions as syntax coding was never something I learnt before.
I see that you used Height_Cylinder with the following code, mind explaining to me what it does ?
"vector bb = relbbox(0, v@P);
vector uvw = set(bb.x, bb.z, 0.0);
vector pos = uvsample(1, 'P', 'uv', uvw);
f@height = pos.y * 500.0;
f@mask = f@height;"
Also, now that I am trying to de-code the script to learn the steps, as soon as I unfreez the frame for "heightfield_erode1" and try to simulate it again, the plane just ends up flying in the air. Is it also possible to simulate the erosion on the column and watch as they are happening live just like the regular erosion simulation on a flat plane ?
If it's too much to explain over a text replay, please note that I am welling to pay for a learning session as it is essential to figure this out for my master's thesis. Let me know if you are interested.
Let me know.
-
- Quick Links

