高级群集教程ADVANCED CROWDS: TROUBLESHOOTING AGENTS

高级群集教程ADVANCED CROWDS: TROUBLESHOOTING AGENTS

Intro from SideFX Houdini on Vimeo

“The Unfortunate Horses” — or work with what you got and also throw some horses down a hole

MPC Lead Crowd Technical Director Mikael Pettersén will show how to address and resolve common issues an artist would encounter when creating a more dynamic crowd simulation. These common issues include bipedal vs. quadrapedagents, agent prep tips, applying secondary effects on agents, fixing clips, steering and arching clips, agent configurejoints (collision layers+joint limits), ragdolls, motors, and caching.

Chapter 1: Adding Hair from SideFX Houdini on Vimeo

Using the horse HDA to set up the agent, looking quickly at the rig and comparing it to mocpaBiped3. We will also add some groom to the horse agent.

Chapter 2: Leg IK from SideFX Houdini on Vimeo

Setting up leg IK with the agent prep and explaining why you need it.

Chapter 3: Arcing Clips from SideFX Houdini on Vimeo

Working with bclips and apply arcing on our horse agents, for more realistic movement. Will also look at the bclips and explain why they won’t work in their current state. Then show how to fix the clips in CHOPs.

Chapter 4: Tweaking the Run Clip from SideFX Houdini on Vimeo

Blending the run, left/right clips together and all the steps necessary to adjust for correct position and length of clips, so we have nice smooth clip instead of madness.

Chapter 5: Adding Collision Shapes from SideFX Houdini on Vimeo

Creating collision geometry and rotational limits can be tricky because we have a lot of transforms and you don’t want collision shape on each one. Additionally, there are prebaked orientations on the horse, which will make the rotational limits a bit weird.

Chapter 6: Agent Configure Joints from SideFX Houdini on Vimeo

Now we take care of configuring joint limits and how to get around our prebaked orientations. Otherwise, we will have some very sad horsey agents.

Chapter 7: Simple Python Script from SideFX Houdini on Vimeo

Because we can run the script through each parameter instead of having to click on each one. Script is in the zipped download file below.

Chapter 8: Tweaking the Joint Limits from SideFX Houdini on Vimeo

Now we take care of configuring joint limits and how to get around our prebaked orientations.

Chapter 9: Simulating the Crowd from SideFX Houdini on Vimeo

We have a cached simulation where the ground collapses and our horses fall into the abyss, because we will make a path for them to enable this.

Chapter 10: Ragdoll Simulation from SideFX Houdini on Vimeo

Now we bring the collision geometry into simulation and look at how to trigger them. Trigger them straight into an abyss.

Chapter 11: Hair Simulation from SideFX Houdini on Vimeo

Simulating and caching out the hair, and dealing with a few more problems you will surely encounter. See the beautiful groom action happening there?