Skip to content

Simulators and Graphs

An engineering research role at the University of Leeds: real-time 3D simulators in C++ and OpenGL, graph-based models of how people and traffic move through a space, and computer-vision and machine-learning research alongside. An unusually broad early-career footing.

The Faculty of Engineering at the University of Leeds was where an unusually broad first footing was laid: real-time 3D worlds, computer vision, machine learning, and graph-based models of how people move through a space, all at once, and all while studying for a BSc in Computer Science & Artificial Intelligence. The 3D side meant simulators, built in C++ and OpenGL. The graph side meant modelling transport as a network of nodes and the streams of people and traffic flowing between them. Much of what came later traces back to here.

C++OpenGLPythonComputer VisionMachine Learning

The simulators

Two of the systems were simulators: real-time 3D worlds a person could move through. One was a driving simulator, built for transport studies, where the point is to put a driver in a controlled, repeatable world and study what happens. The other was an estate simulator for services, a 3D model of a built environment used to reason about it. Both ran on C++ and OpenGL, close to the metal, because a simulator has to render convincingly and in real time, and there is no slack in either constraint.

Transport as a graph

The other strand looked at transport a different way, not as a world to render but as a graph to reason about. Model a space as nodes and the connections between them, and the movement of people and traffic becomes streams flowing across that graph. It is a way to capture how a place actually works: where crowds build, where flow bottlenecks, and how a change in one spot ripples out to others.

Two ways to model a space

The simulators and the graphs were two answers to one question: how do people move through a space? A simulator answers by rendering it and putting a person inside. A graph answers by abstracting the space to nodes and flows and reasoning about the whole at once. One is concrete, one is abstract, and being fluent in both, able to build the world and to model it, is a habit that turns out to matter well beyond a research lab.

Two ways to model a space: simulate it, or model it as a graphOne question, how people move through a space, with two answers. On the left, the simulate approach: a real-time 3D world rendered in C++ and OpenGL, with a person placed inside it, the concrete view. On the right, the model approach: the space abstracted to a graph of connected nodes and the flows between them, the abstract view that reasons about the whole at once. Both were built and used here.How do people move through a space?Simulateconcrete: render the spaceReal-time 3D worldC++ · OpenGL · a person insideModelabstract: a graph of itA graph of nodes + flowsreason about the wholeFluent in both: build the world, and model it.
Two ways to model a space: simulate it (render a real-time 3D world in C++/OpenGL, a person inside) or model it (a graph of nodes and flows, reasoning about the whole). Fluent in both the concrete and the abstract.

Vision and learning

Alongside the simulators and the graphs ran the computer-vision research, with custom machine-learning pipelines in Python behind it. Vision and learning were the newer, more experimental edge of the work, and building the pipelines that fed them was its own kind of engineering: getting messy real-world signal into a shape a model could learn from. Together with the spatial tracking models, reused across a range of faculty initiatives, it added up to a stack most engineers do not touch until much later, if at all.

Leeds: the computer-vision and machine-learning pipelineMessy real-world signal such as imagery or sensor data enters a Python computer-vision pipeline that cleans it and extracts features, an ML model learns from it, and the result is spatial-tracking models reused across a range of faculty initiatives.Getting messy signal into a shape a model can learn fromMessy real-worldsignalimagery · sensorComputer-visionpipeline · Pythonclean, extract featuresML modellearns from itSpatial trackingmodelsreused across facultyA stack most engineers do not touch until much later, if at all.
Custom machine-learning pipelines in Python sat behind the computer-vision research. The engineering was getting messy real-world signal into a shape a model could learn from; the resulting spatial-tracking models were reused across a range of faculty initiatives.

Research-grade

  • Precise, or pointless. Research-grade software has a hard bar: a result has to be exact and defensible before it means anything, which changes how every line gets written.
  • Built with academics. Working directly with researchers and academics, translating research questions into systems that could actually answer them.
  • While studying. Undertaken concurrently with a BSc in Computer Science & Artificial Intelligence, learning the theory and applying it in the same years.

Where it started

Most careers do not begin with real-time 3D rendering, computer vision, machine learning and graph modelling in the same role. This one did, and it set the pattern. The low-level graphics and the computer vision came back years later, driving live visual performance on stage; the instinct for modelling a tangled real-world system never left. A lot of the later work is, in some form, this work grown up.

The root of a longer arc of real-time graphics and computer-vision work (2006–2018): it runs on into embedded computer vision at Adidas and live visuals with Audio Visual Collective, with its commercial counterpart from the same university years in the game craft at Yorkshire Carnegie.