Skip to content

drawtonomy vs odrviewer.io

odrviewer.io is an online OpenDRIVE viewer. You load an .xodr file and it renders the road network in 3D in the browser, and can export an .obj model from it. It is built on the open-source libOpenDRIVE C++ library compiled to WebGL; the viewer core itself is closed-source, with public assets on GitHub.

What odrviewer.io covers (per the site and libOpenDRIVE):

  • Loading and viewing OpenDRIVE .xodr files in 3D, entirely in the browser.
  • Exporting an .obj mesh of the road geometry.
  • A quick, install-free way to sanity-check what an .xodr file actually contains.

For checking an OpenDRIVE file someone handed you — or that your own tool produced — odrviewer.io is a convenient browser-based way to look at it.

odrviewer.io and drawtonomy are not really substitutes: odrviewer.io is for viewing .xodr files in 3D, while drawtonomy can import a .xodr, let you edit lanes and connections in 2D, and export OpenDRIVE back out. odrviewer.io renders but does not edit; drawtonomy edits but does not render in 3D. Per its exporter documentation, drawtonomy’s OpenDRIVE export (up to 1.8) covers a subset of the spec — lanes, traffic lights, crosswalks, basic objects — and approximates analytical geometry for roads you author, while round-tripping untouched roads verbatim via carry-through.

A natural pairing — both run in the browser with nothing to install:

  • Import a .xodr into drawtonomy, tweak the geometry, and export it back out.
  • Open the exported .xodr in odrviewer.io to see the 3D rendering and confirm the geometry reads as expected.
  • Iterate in drawtonomy; re-check in odrviewer.io.

Beyond the map itself, drawtonomy also authors an OpenSCENARIO scenario on the road and runs it in the browser on esmini-WASM — a 2D playback with transport controls, a follow camera, and ghost trails. See the scenario editor. odrviewer.io is the 3D view-and-inspect side; drawtonomy is import-edit-export plus in-browser scenario playback.

Both tools show that OpenDRIVE workflows can live in the browser without a desktop install. odrviewer.io’s foundation, libOpenDRIVE, is also used elsewhere in the ASAM OpenDRIVE tooling community. For tools that create OpenDRIVE rather than view it, see LaneMaker, Truevision Designer, and RoadRunner. We work on different parts of the same ecosystem.