Hello everyone,
for a project of mine I need to recreate the following video:
https://www.youtube.com/watch?v=bEdZ-GV4uIY [www.youtube.com]
I want to start with a randomly distributed crowd of sheep and I want those sheep to be attracted to a shape on the ground made out of food (e.g. a heart shape). If the food is already populated by a sheep then i want other sheep to find a different spot on the shape. After some time the whole shape should be populated by the crowd.
I have experience with Houdini in general but havent used the crowd system before. Maybe, someone who has experience with crowd simulations can point me in the right direction how to set up a system that could imitate the sheep in the video.
I would appreciate any help to point me in the right direction to tackle this problem
Thank you!
Controlling a Crowd to form a shape on the ground [SOLVED]
1885 3 1- Nico_M
- Member
- 3 posts
- Joined: Feb. 2017
- Offline
- Enivob
- Member
- 2624 posts
- Joined: June 2008
- Offline
What I have done, is to generate a goal point per-agent. You need a walk state and an idle state. While the agents are walking, the Use VEXpression code set the goal for each agent, causing them to approach a point in the logo or design. A crowd trigger measures the distance between the goal and the agent. After a threshold is crossed, the state is switched to idle, indicating arrival at goal.
This is an older scene, but it might get you going.
This is an older scene, but it might get you going.
Image Not Found
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
- Nico_M
- Member
- 3 posts
- Joined: Feb. 2017
- Offline
Enivob
What I have done, is to generate a goal point per-agent. You need a walk state and an idle state. While the agents are walking, the Use VEXpression code set the goal for each agent, causing them to approach a point in the logo or design. A crowd trigger measures the distance between the goal and the agent. After a threshold is crossed, the state is switched to idle, indicating arrival at goal.
This is an older scene, but it might get you going.Image Not Found
Wow, thanks so much. This is a huge help and I think I can use this for my project.
- Pavini
- Member
- 35 posts
- Joined: May 2014
- Offline
Enivob
What I have done, is to generate a goal point per-agent. You need a walk state and an idle state. While the agents are walking, the Use VEXpression code set the goal for each agent, causing them to approach a point in the logo or design. A crowd trigger measures the distance between the goal and the agent. After a threshold is crossed, the state is switched to idle, indicating arrival at goal.
This is an older scene, but it might get you going.Image Not Found
Thank you so much!
Took me much time to find this!
-
- Quick Links