Hi,
I am trying to model palm oil plantation tree with lots of cut leaves/midrib just like the image below. So my current solution is to scatter slightly randomized polygons on random point on a tube-like surface (or randomizing points on a tube). The issue is some of the polys are colliding to each other like the image below. I can reduce the poly but then it's not like they're on top of each other like a palm tree. I wonder if it is possible to increase the polys but avoiding them to collide to each other. Can anyone help me on this?
My current thought is to create polys and stack them from above. I wonder if this is possible in Houdini.
Thank you
Scattering object with Copy to points with collision evasion
2024 4 0- jttarigan
- Member
- 18 posts
- Joined: Jan. 2020
- Offline
- Enivob
- Member
- 2519 posts
- Joined: June 2008
- Offline
You need a simulation for that. Check out Matt's de-intersect setup.
https://www.tokeru.com/cgwiki/index.php?title=HoudiniDops#RBD_deintersect_the_easy_way [www.tokeru.com]
https://www.tokeru.com/cgwiki/index.php?title=HoudiniDops#RBD_deintersect_the_easy_way [www.tokeru.com]
Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
- jsmack
- Member
- 7659 posts
- Joined: Sept. 2011
- Offline
- jttarigan
- Member
- 18 posts
- Joined: Jan. 2020
- Offline
Enivob
You need a simulation for that. Check out Matt's de-intersect setup.
https://www.tokeru.com/cgwiki/index.php?title=HoudiniDops#RBD_deintersect_the_easy_way [www.tokeru.com]
will take a look. thanks for the link. It's very interesting
jsmack
They shouldn't be intersecting in the first place if you don't use a scatter. The leaves on a palm aren't popping out at random, they are following an orderly phyllotaxis pattern. Use a rotation on the points about a central axis by a fixed angle.
ah okay. That make sense, so I'll just generate the pattern and modify the leaves accordingly. Thank you for the info.
- Andr
- Member
- 900 posts
- Joined: Feb. 2016
- Offline
you could try with my "autofix geo intersections" tool.
But note that it will modify your geometry, and might give bad results, especially with low res sources like in your case.
https://www.sidefx.com/forum/topic/82432/ [www.sidefx.com]
But note that it will modify your geometry, and might give bad results, especially with low res sources like in your case.
https://www.sidefx.com/forum/topic/82432/ [www.sidefx.com]
Edited by Andr - July 29, 2022 07:17:42
-
- Quick Links