Jump to content
Nik S

Houdini 15.5 crowd setup with multiple agents

Recommended Posts

Nik S    0

Hi there, 

working on a system with Houdini crowds in which I have a bunch of bugs writhing around on a dudes body. I can get one agent with multiple clips working no problem but when I try to add another agent (via a merge before I plug into crowd source) the clip attribute does not respect the agent group. That is, a maggot clip is being assigned to a mealworm for example. 

Of course the mealworm (second agent given to the agent group in the crowd source sop) gets screwed up in dops. While the first agent is fine. 

All of the examples I've found deal with only one agent. 

Is it possible to have multiple agents (say 10 different types of bugs) all working in the same crowd simulation?

thanks in advance,

nik

Share this post


Link to post
Share on other sites
cwhite    45

There shouldn't be any issues with having multiple types of agents in the same simulation. Just make sure that for each state the agent may be in, the clip name is valid for that type of agent (if the Randomize Clips option is used, the clip name patterns are matched against the agent's clip catalog before selecting a clip).

  • Like 1

Share this post


Link to post
Share on other sites
Matt_K    25

Hi Nik,
We have crowds with many different agents, and there are many methods for setting this up.

When feeding multiple agents into a crowdsource node, you need to leave the 'initial state' field empty so that the each agent will use it's 'current clip' setting when simulating.
If this is not set up correctly, then you will get agents either not simulating, or incorrect behaviour.

Hope this helps!
Matt.

  • Like 1

Share this post


Link to post
Share on other sites
Nik S    0

I do indeed have the randomize initial state enabled! I will try the above and let you know how it goes. 

Thank you! :)

Share this post


Link to post
Share on other sites
Nik S    0

I do indeed have the randomize initial state enabled! I will try the above and let you know how it goes. 

Thank you! :)

Edit:

Update! Modified my setup to have a different agent per clip and everything is working. thanks for pointing me on the right direction!

Edited by Nik S

Share this post


Link to post
Share on other sites
chanson    0
On 2/18/2017 at 11:55 AM, Matt_K said:

 

When feeding multiple agents into a crowdsource node, you need to leave the 'initial state' field empty so that the each agent will use it's 'current clip' setting when simulating.
If this is not set up correctly, then you will get agents either not simulating, or incorrect behaviour.

 

How do you input multiple agent nodes into one crowdsource node? I am finding that not to be possible.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×