Building a Crowd Toolkit in Houdini
A work-in-progress Houdini crowd toolkit connecting native movement, animated agents, group behaviour and measurable evaluation across nine scenarios.
A crowd simulation becomes useful when it can explain its own behaviour. I developed RA Crowd Toolkit as a Houdini workflow that connects population and destination setup to movement, animation and measurable outputs. The current work explores how far native Houdini tools can support an inspectable pedestrian simulation system. Work in progress. This is a research and product-development toolkit. Further evaluation studies against measured human crowd data are required before using it for real-world planning, engineering or safety decisions. Separate movement from appearance The movement solver operates on lightweight person points carrying IDs, positions, velocities, body size, destinations and lifecycle state. Animation sits downstream: the same trajectories can be inspected as points, body proxies, coloured maps or native packed agents. This makes it possible to study behaviour without including character drawing in solver benchmarks. How the system works Define closed obstacles and source populations in metres on a flat XZ plane. Assign destination IDs, arrival regions and optional dwell-and-continue itineraries. Generate clearance-aware navigation fields with eight-connected Dijkstra routing and no diagonal corner cutting. Advance people using sampled candidate headings, forward space, anticipated encounters, wall tests and iterative body separation. Retain trajectories and measurements; cache the run, inspect it visually and export an evaluation report. Native SOPs, the SOP Solver, VEX and spatial neighbour queries perform movement and geometry work. Static navigation propagation uses Python. This is a custom hybrid model, not an implementation of ORCA or JuPedSim, and no GPU acceleration or collision-free guarantee is claimed. The HDA toolkit RA_Crowd_Layout RA_Crowd_Layout Builds closed room boundaries and simple massing to define obstacles. RA_Crowd_Source RA_Crowd_Source Creates repeatable populations, unique IDs, preferred speeds, body sizes, group membership and release schedules. RA_Crowd_Goal RA_Crowd_Goal Defines destinations, arrival widths, dwell times and onward goals for staged itineraries. RA_Crowd_Navigation RA_Crowd_Navigation Builds clearance-aware grid routes and destination fields around closed obstacles. RA_Crowd_Solver RA_Crowd_Solver Integrates movement with local avoidance, wall checks, body separation and optional group steering and smooth variation. RA_Crowd_Analysis RA_Crowd_Analysis Retains per-person measurements and summarizes population states, speed, density and residual overlap. RA_Crowd_Display RA_Crowd_Display Provides inexpensive point and body-proxy previews for early iteration. RA_Crowd_Cache RA_Crowd_Cache Writes full-attribute geometry sequences for portable results and repeatable playback. RA_Crowd_Data_Visualizer RA_Crowd_Data_Visualizer Colours people or ground maps by density, estimated travel time, congestion, waiting, speed and custom measurements. RA_Crowd_Animated_People RA_Crowd_Animated_People Drives native packed agents with standing, walking and running clips, with stopped-red or data-colour shading. RA_Crowd_Evaluation_Report RA_Crowd_Evaluation_Report Exports sampled trajectories and metrics, then builds an HTML report with inline SVG graphs. Groups, varied journeys and running Sources can assign a repeatable fraction of people to a group ID. Optional cohesion, alignment and separation influence nearby eligible members, with a same-goal filter and bounded steering. Smooth seeded heading and target-speed variation add controllable individual differences. These are local heuristics, not a validated model of social behaviour. Animated people blend between standing, walking and running. Running begins blending above an adjustable measured-speed threshold, defaulting to 8 m/s; the Park example uses 2.8 m/s to demonstrate an alternate setting. This threshold selects animation and does not accelerate the solver. Red stopped/default moving shading makes slow or stationary people easy to identify. Scheduled sources use clear-space admission so a due person waits rather than appearing inside another walker. Requested release time, actual start time and activation delay remain separate in the data. Nine scenarios, different questions The bundled HIP includes counterflow, a doorway bottleneck, an obstructed hall, urban crossroads, a transit district, an event masterplan, campus itineraries, park walkers and runners, and timed transit distribution. The supplied recordings cover eight of those layouts; no event-masterplan recording was supplied. Masterplan populations reach 4,096 people. New itinerary studies: source regions, destinations, sampled paths and population states. What the evaluation shows The supplied Evaluation Report records fresh 60-second studies: Campus Itineraries completed 92 of 160 trips, Park Walkers and Runners completed 81 of 121, and Timed Transit Distribution completed 41 of 152. All reported zero unreachable agents in those runs. Campus and Transit use four substeps; Park uses eight. These are finite test windows, not complete clearance-time measurements. The report records 131 software and visualization checks and independent geometry checks on retained snapshots. Those checks support implementation testing; they do not establish empirical crowd accuracy or continuous-time collision freedom. Timings include export work and workstation activity, so they are not controlled competitor benchmarks. Earlier small-scene and masterplan figures are historical evidence from previous toolkit stages, not fresh 0.3 measurements. Earlier masterplan studies, retained as historical functional and scaling evidence. Earlier corridor, doorway and hall studies: trajectories and completion curves. Read the measurements carefully Local density is a circular-area count and is biased near boundaries. Congestion is a user-configured density normalization, not a danger threshold. Estimated travel time is route distance divided by selected speed to a destination centre; it does not predict future queues, dwell or decisions. The automatic report HDA exports per-scenario sampled CSV data and HTML graphs; it is separate from the more extensive multi-scenario development reports shown here. Next: evaluation against real crowds Further work needs measured trajectories, speed–density curves, doorway throughput, travel-time distributions, queue formation, multiple seeds, and grid/timestep studies. Calibration should use one dataset and evaluation another. Shared group route planning, straggler waiting, stairs, elevators, multiple floor levels and physical crowd pressure remain outside this implementation. High-speed cases also need dedicated timestep and collision studies. The toolkit is a work in progress. Its value at this stage is a portable, transparent framework for experimentation and comparison—not a claim of readiness for safety-critical real-world applications. Try the toolkit Download RA Crowd Toolkit . Start with a small scene, check the guide, rewind/reset after simulation edits, then bake the cache before reviewing animated output. Files use Houdini Indie formats; the native example character and clips are SideFX sample content. Confirm applicable licensing and distribution rights before commercial reuse. Explore the supplied documentation Read the toolkit guide · Read the development evaluation report . These documents distinguish numerical checks from the empirical evaluation still needed for real-world applications.