drawtonomy vs odrviewer.io
odrviewer.io
Section titled “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
.xodrfiles in 3D, entirely in the browser. - Exporting an
.objmesh of the road geometry. - A quick, install-free way to sanity-check what an
.xodrfile 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.
Where drawtonomy might fit alongside it
Section titled “Where drawtonomy might fit alongside 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
.xodrinto drawtonomy, tweak the geometry, and export it back out. - Open the exported
.xodrin 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.
In the same browser OpenDRIVE ecosystem
Section titled “In the same browser OpenDRIVE ecosystem”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.
Related reading
Section titled “Related reading”- What is OpenDRIVE?
- Export to ASAM OpenDRIVE / OpenSCENARIO
- Scenario editor — author and run an OpenSCENARIO scenario in the browser.
- drawtonomy vs LaneMaker