Turn any real-world map into a 3D model you can render in Lumion
Open Command Prompt — press Win + R, type cmd, press Enter — then run:
You need version 17 or higher. If it shows 1.8 (Java 8) or gives an error, continue to Step 2.
openjdk version "21..." or higher, skip to Part 2.Entire feature will be installed on local hard driveOpen a brand new Command Prompt window (important — old windows won't pick up the new version) and run:
Expected output:
Win + S → search "Environment Variables" → click "Edit the system environment variables"Java or jre1.8 — select it → click DeleteAdjust the folder name to match what you installed. To find it, run:
Click OK on all windows, open a fresh Command Prompt, and test java -version again.
C:\OSM2World\osm2world-windows.bat and a lib\ subfolderOpen Command Prompt, navigate to your OSM2World folder, and run:
A black terminal window will open first, then the 3D viewer loads. The viewer should stay open.
map.osm will downloadC:\MyMap\map.osmWith OSM2World open, click File → Open OSM file and navigate to your map.osm. Wait for it to process — a 3D preview will appear.
If the ground looks wrong or missing, click File → Reload OSM File to reprocess.
Click File → Export OBJ file and save to your folder.
You will get two files — keep them together always:
map.obj — the 3D geometrymap.mtl — the material definitionsSkips the preview and outputs directly:
Download and install Blender (free) from blender.org/download
X → Deletemap.obj fileA to select all, then S to scaleXClick File → Export → FBX and save as map.fbx
map.fbx (or map.obj) and select itmap.obj and map.mtl are in the same folder| Problem | Fix |
|---|---|
| OSM2World window closes instantly | Java version is too old. Install Java 21 from adoptium.net |
| "java -version" shows 1.8 after installing Java 21 | Old Java 8 is still first in system PATH. Follow the PATH fix steps in Part 1 troubleshooting above |
| OSM2World crashes during load | Map area is too large. Export a smaller region from openstreetmap.org |
| Buildings have no height / look flat | The OSM data for that area lacks building height tags — OSM2World makes its best guess. Add height data in OSM or edit manually in Blender |
| Model is wrong scale in Lumion | Re-export from Blender with meters as the unit (1 unit = 1 meter) |
| Model appears far from the placement icon | Move model to 0,0,0 in Blender before exporting |
| Missing textures in Lumion | Keep .obj, .mtl, and the textures folder all in the same directory |
| Ground missing in OSM2World preview | Click File → Reload OSM File in OSM2World |