I’m running into an issue with some crowds and hoping someone can help. I’ve set up agents using an FBX for the agent itself and loading additional FBXs as clips. So far everything works. I’ve saved out the agent definition caches and I’m loading them into the shot where I’m setting up the crowds.
The problem starts when I try to cache the crowds. I’ve narrowed it down to the foot locking setup (Agent Prep / Additional Channels from CHOPs). Without foot locking, my agents cache very quickly and I can play back the cache in real time. I assume the cache is referencing the agent definitions on disk instead of reloading them every frame, which is great.
However, because I need the agents to have terrain adaptation, I’ve added an Agent Prep after bringing in the agent (still referencing the agent definition directory). This gives me the terrain adaptation I need, but this is also where the caching slows down A LOT and the cache size increases drastically. It also becomes extremely slow to play back.
In a test with just a single agent, my cache went from around 40 MB (without foot locking) to over 50 GB (with foot locking) for the same frame range.
Does anyone have any insight on how to properly set this up? Can the foot locking data be saved as part of the agent definition? I’ve tried both “Cache Modified Clips to Disk” on the Agent Prep and setting the source to “File,” but no luck
the agent still can’t find those channels.I’m referencing this documentation for tips, but haven’t found anything specific to this issue: https://www.sidefx.com/docs/houdini/crowds/caches.html [www.sidefx.com]
Any help would be greatly appreciated!
