The first version of the openstreetmap to blender results are checked in! nice!
Posted by h4ck3rm1k3 on 27 September 2009 in English.Here is my blog post :
http://fmtyewtk.blogspot.com/2009/09/checked-in-first-version-of-gjakova.html
http://fmtyewtk.blogspot.com/2009/09/jmsolerfreefr-pyimportkml-kmzen-is-back.html
The server is back online
http://fmtyewtk.blogspot.com/2009/09/get-plugin-kmzimportwithmeshz019kpy.html
get the plugin script here:
wget http://jmsoler.free.fr/util/blenderfile/py/kmz_ImportWithMesh_Z019k.py
http://fmtyewtk.blogspot.com/2009/09/copy-plug-in-to-blenderscripts.html
Just put the plugin here :
/home/mdupont/.blender/scripts/kmz_ImportWithMesh_Z019k.py
Convert the osm to kml
gpsbabel -i osm -f gjakova.osm -o kml -F gjakova.kml
Import into blender,
note : you have to tell it the number of edges to import, how stupid.
See the number 198, well just double click on it and add them in.
There you are!
see the screenshots here.
http://fmtyewtk.blogspot.com/2009/09/screenshots.html
Discussion
Comment from datalogg on 27 September 2009 at 15:14
Cool! What's the primary application at the moment? Automatic generation of terrain?
Things could get really interesting if you could export from Blender to OSM. Imagine being able to use Blender's complex spline editing tools. Or being able to draw a Bezier curve to describe a smooth road, then convert to straight segments, and then convert back to OSM. Come to think of it, perhaps it could be possible to integrate a large part of JOSM's functionality into Blender as a plugin? After all, Blender solves a lot of the same problems...
Comment from h4ck3rm1k3 on 27 September 2009 at 17:30
My original goal is an old idea I had to make openarena/quake games with my home town street.
We could make a movie with the changes as they happen.
We could replace josm with blender and python.
We could add in a later for inkscape.
we could render photorealistic maps.
I have moved the code http://bazaar.launchpad.net/%7Ekosova/%2Bjunk/openstreetmapkosova/annotate/head%3A/kmz_ImportWithMesh.py?sort=date
into bazzar to get rid of the frankophone names so I can start to understand it.
Hopefullly when I have reversed engineered this code we can start integrating the python plugins into blender.
with blender you can create movies etc.
Comment from !i! on 15 November 2009 at 19:40
Nice work! How about 3D Buildings/SRTM heights similar to www.osm-3d.org?
Comment from !i! on 17 August 2010 at 17:50
Hi Mike, you still working on the blender thing? Well Jerome from the BlendedCities Blender City generator engine plays around with it and might need some help :)
http://forum.openstreetmap.org/viewtopic.php?id=8778