Jump to content
Atom

Adding Custom Agent To Crowds?

Recommended Posts

The Agent ROP in H15 has a mode that takes an agent primitive from SOPs and writes out its agent definition to disk, which is useful for this type of workflow.

 

The Agent Layer SOP should handle deforming meshes. I think you need to point it at the rest geometry (i.e. the input to the Deform SOP), though

Share this post


Link to post
Share on other sites

The Agent ROP in H15 has a mode that takes an agent primitive from SOPs and writes out its agent definition to disk, which is useful for this type of workflow.

 

Yep, that's how it's set up by default when you use the Bake Agent shelf tool.

 

 

The Agent Layer SOP should handle deforming meshes. I think you need to point it at the rest geometry (i.e. the input to the Deform SOP), though

 

I'm sceptical, have you tried it? The drop down menu's for the shape layer overrides don't populate if you plug it an at that stage. They only seem to work when you plug them into an Agent SOP. But I'll have a play around and see what I can figure out.

Share this post


Link to post
Share on other sites

Duh. Okay, just figured it out. At the top of each layer file is this:

{
"version":1,
"name":"default",
"static":[
{
...
You need to change the "name" entry to the same name as the layer file. Would've been good if Houdini could be a little more helpful with an error message when the layer suffix in the filename doesn't match the JSON entry!
 
Thanks for the help Cameron. Guess I just need some specs ;)
A

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

×