Try the road. Change one pothole.
This interactive demo lets you place up to eight potholes on a flat, sloped or curved road, adjust each pothole and inspect the result.
Start here
- Keep the default Four varied potholes example, or choose another scene under Reproducible examples.
- Select a pothole in the left panel. Adjust Target footprint (area), Maximum depression (depth) and Contour irregularity (outline shape). Lateral u and Longitudinal v move it across and along the road.
- Use Close to inspect the selected pothole, Top for an overhead view, or Wide for the whole road.
- Try Flat, Slope and Curve. Choose Road-edge damage to see a pothole cut through the road boundary.
Mouse: left-drag to orbit, scroll to zoom and right-drag to pan. On touch screens, drag with one finger to orbit and use two fingers to zoom or pan.
Inspect and save
- Wireframe shows the triangle mesh. Normals, Mask, Depth and Instances show the corresponding inspection views.
- Original road toggles the undamaged surface. Cross-section shows a profile through the selected pothole; switch between across and along the road.
- Sampling and Mesh construction change the geometry resolution and layout. Compare sampling levels measures the same scene at three resolutions.
- Save scene downloads the current parameters as JSON. Load scene restores a previously saved scene.
- Export aligned dataset downloads a ZIP containing RGB, mask, instance IDs, geometric normals, metric camera depth and scene/camera metadata from the current view. Turn off Original road to enable export.
What the measurements mean
The footprint area is measured on the original, undamaged road surface. Depth is depression along the original surface normal. Exported camera depth is measured along the camera viewing axis; it is a different quantity from pothole depression.
Limits and browser requirements
Use a modern browser with WebGL 2 and hardware acceleration enabled. Rendering speed depends on your device and browser. GPU timing may be unavailable; the performance panel reports this explicitly. High sampling levels and exports can take longer on slower devices.
The demo uses analytic road surfaces. It does not import arbitrary terrain or simulate vehicle dynamics. Potholes whose support regions overlap are rejected, and the last valid scene is retained. With road-edge mode enabled, the area target applies to the footprint remaining on the road.