Rendering OSM data with OSM2World and Blender

From OpenStreetMap Wiki
(Redirected from 3D animation)
Jump to navigation Jump to search

This page is about generating animations of small city models, using just OSM data. Here we are leaving the GIS world and enter the 3D modelling arena to get something really cool out of geodata :)

Preparations

  1. Enrich desired area with 3D tagging and micromapping in general
  2. Download OSM2World (SVN recommend!) and practise using small OSM areas. Therefore, loading small parts (less than a district recommend) using JOSM and reopen the .OSM file with O2W
  3. Install Blender3D and learn basic editing
  4. Install kdenlive and try to open some tutorials

Export

  1. Use JOSM editor to download a certain area.
  2. Store this dump as .OSM file
  3. Open it with OSM2World again and wait for processing finished
  4. Check if your area looks as desired and if it will fit.
  5. Export to multi .OBJ file

Post Editing

  1. Fire up Blender3D, clean the scene and import the .OBJ files step by step.
  2. Add 3 sun light sources that have each different angles. One as main source and the rest to soften shadows (so less intensity)
  3. Add a new camera and make it pointing to somewhere
  4. Render and check from various perspectives, if the geometries are still looking ok.
    1. Some areas might overlay with some ways and cause clipping artifacts. Thus you might push the ways a bit up (z-axis) to solve the problems

Animation

  1. Make a plan, what you want to show your audience. Which places/objects, in which order and how long the clip should take
  2. Create a path for your camera and follow this tutorial

Rendering

  1. Do some simple renderings (low resolution, no raytracing, no AA) for finetuning the animation
  2. Do the final rendering. You might create single frames as images, or some MP4 stuff

Post processing

  1. Start kdenlive and add the blender animation
  2. Create title clips, that contain the photos of the desired areas
  3. Add all components from the media gallery and arrange them on the timeline channels. Switch the compositing to "composite" for the title clips and add fading effects to each start and end.
  4. Add music, e.g. from Jamendo
  5. Do final Render

Case study Rostock

For Geoforum MV 2013 we micromapped a suburb of Rostock and created an 3D print from an certain area (university campus within the Südstadt district). Thus we used the processes, described above.

See full animation


See also