Jump to content

Adding Custom Agent To Crowds?


Atom

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

Link to comment
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.

Link to comment
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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...