| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| slvpartage:valbonne_en_3d [2020/08/25 11:24] – cyberyunohost | slvpartage:valbonne_en_3d [2023/07/16 10:13] (Version actuelle) – [Site de l'ign / minecraft + minetest] cyberyunohost |
|---|
| |
| ====== Impression 3D ====== | ====== Impression 3D ====== |
| | |
| | |
| | ====== Site de l'ign / minecraft + minetest ====== |
| | |
| | |
| | L'ign propose un outil de génération pour les jeux minecraft et minetest |
| | |
| | https://www.ign.fr/minecraft/ |
| | |
| | Selectionnez Plateforme Linux Format Minetest |
| | |
| | Entrez votre mot de passe, il est nécesaire de le saisir une seconde fois manuellement ( pas de copier/coller ). |
| | |
| | confirmez que vous avez plus de quinze ans et que vous acceptez le traitement des données personnelles. |
| | |
| | Vous recevrez un premier courrier : |
| | |
| | <code> |
| | Minecraft® à la carte |
| | |
| | Nous avons bien reçu votre commande de carte sur le service Minecraft® à la carte, et nous vous en remercions. |
| | |
| | Votre carte est en cours de génération et devrait vous parvenir sous 25 minutes (estimation approximative). |
| | |
| | Pour tout renseignement, veuillez nous écrire à l'adresse suivante : minecraft@ign.fr |
| | |
| | L'IGN |
| | </code> |
| | |
| | Et dans mon cas 28 minutes plus tard, réception d'un nouveau mail : |
| | |
| | <code> |
| | Minecraft® à la carte |
| | |
| | Vous avez récemment utilisé le service Minecraft® à la carte, et nous vous en remercions. |
| | |
| | Pour rappel, voici les détails de votre carte : |
| | Format Minetest (0.4.16) |
| | Coordonnées au centre XXX -YYYY |
| | Sous-sols demandés Non |
| | Echelle 1 cube pour 1 mètre |
| | Emprise 2.5 km par 2.5 km |
| | Angle 0° |
| | Données relief SRTM3 (pas de 90m) |
| | Données topographiques IGN ou SPW |
| | |
| | Votre carte est à présent disponible en téléchargement à cette adresse : https://dl-minecraft.ign.fr/data/minetest_alac-AAABBBCCCDDDEEE.zip |
| | |
| | Comment ça marche ? |
| | |
| | Veuillez noter que le lien de téléchargement expirera dans 72 heures. |
| | |
| | Pour tout renseignement, veuillez nous écrire à l'adresse suivante : minecraft@ign.fr |
| | |
| | Bon jeu ! |
| | </code> |
| | |
| | Le document téléchargé fait une cinquantaine de méga dans mon cas. |
| | |
| | |
| | <code> |
| | . |
| | ./minetest_alac |
| | ./minetest_alac/map.sqlite |
| | ./minetest_alac/env_meta.txt |
| | ./minetest_alac/worldmods |
| | ./minetest_alac/worldmods/easter_eggs |
| | ./minetest_alac/worldmods/easter_eggs/models |
| | ./minetest_alac/worldmods/easter_eggs/models/easter_eggs_gold_egg.obj |
| | ./minetest_alac/worldmods/easter_eggs/depends.txt |
| | ./minetest_alac/worldmods/easter_eggs/textures |
| | ./minetest_alac/worldmods/easter_eggs/textures/easter_eggs_chocolate_block.png |
| | ./minetest_alac/worldmods/easter_eggs/textures/easter_eggs_chocolate_egg.png |
| | ./minetest_alac/worldmods/easter_eggs/textures/easter_eggs_gold_egg.png |
| | ./minetest_alac/worldmods/easter_eggs/textures/easter_eggs_gold.png |
| | ./minetest_alac/worldmods/easter_eggs/init.lua |
| | ./minetest_alac/worldmods/minimap |
| | ./minetest_alac/worldmods/minimap/overlays.json |
| | ./minetest_alac/worldmods/minimap/depends.txt |
| | ./minetest_alac/worldmods/minimap/textures |
| | ./minetest_alac/worldmods/minimap/textures/scan25.jpg |
| | ./minetest_alac/worldmods/minimap/textures/ortho.jpg |
| | ./minetest_alac/worldmods/minimap/textures/images_ici.txt |
| | ./minetest_alac/worldmods/minimap/init.lua |
| | ./minetest_alac/worldmods/respawn |
| | ./minetest_alac/worldmods/respawn/init.lua |
| | ./minetest_alac/worldmods/ignfab |
| | ./minetest_alac/worldmods/ignfab/textures |
| | ./minetest_alac/worldmods/ignfab/textures/overview.png |
| | ./minetest_alac/worldmods/ignfab/textures/logo-ign.png |
| | ./minetest_alac/worldmods/ignfab/textures/logo-ignfab.png |
| | ./minetest_alac/worldmods/ignfab/init.lua |
| | ./minetest_alac/worldmods/hardenedclay |
| | ./minetest_alac/worldmods/hardenedclay/depends.txt |
| | ./minetest_alac/worldmods/hardenedclay/textures |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_cyan.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_green.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_purple.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_red.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_light_gray.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_lime.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_light_blue.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_yellow.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_white.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_pink.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_magenta.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_regular.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_black.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_gray.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_brown.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_orange.png |
| | ./minetest_alac/worldmods/hardenedclay/textures/hardenedclay_blue.png |
| | ./minetest_alac/worldmods/hardenedclay/locale |
| | ./minetest_alac/worldmods/hardenedclay/locale/template.txt |
| | ./minetest_alac/worldmods/hardenedclay/locale/tr.txt |
| | ./minetest_alac/worldmods/hardenedclay/locale/de.txt |
| | ./minetest_alac/worldmods/hardenedclay/locale/es.txt |
| | ./minetest_alac/worldmods/hardenedclay/init.lua |
| | ./minetest_alac/geometry.dat |
| | ./minetest_alac/map.vox |
| | ./minetest_alac/map_meta.txt |
| | ./minetest_alac/world.mt |
| | </code> |
| | |
| | du -h |
| | |
| | <code> |
| | 28K ./minetest_alac/worldmods/easter_eggs/models |
| | 52K ./minetest_alac/worldmods/easter_eggs/textures |
| | 108K ./minetest_alac/worldmods/easter_eggs |
| | 844K ./minetest_alac/worldmods/minimap/textures |
| | 884K ./minetest_alac/worldmods/minimap |
| | 16K ./minetest_alac/worldmods/respawn |
| | 1,9M ./minetest_alac/worldmods/ignfab/textures |
| | 1,9M ./minetest_alac/worldmods/ignfab |
| | 208K ./minetest_alac/worldmods/hardenedclay/textures |
| | 52K ./minetest_alac/worldmods/hardenedclay/locale |
| | 288K ./minetest_alac/worldmods/hardenedclay |
| | 3,2M ./minetest_alac/worldmods |
| | 98M ./minetest_alac |
| | 98M . |
| | </code> |
| | |
| | <code> |
| | ls -la |
| | total 96732 |
| | drwxr-xr-x 3 plhardy plhardy 4096 juil. 16 11:55 . |
| | drwxrwxr-x 3 plhardy plhardy 4096 juil. 16 12:08 .. |
| | -rw-r--r-- 1 plhardy plhardy 438 juil. 16 11:55 env_meta.txt |
| | -rw-r--r-- 1 plhardy plhardy 856 juil. 16 11:55 geometry.dat |
| | -rw-r--r-- 1 plhardy plhardy 799 juil. 16 11:55 map_meta.txt |
| | -rw-r--r-- 1 plhardy plhardy 26329088 juil. 16 11:55 map.sqlite |
| | -rw-r--r-- 1 plhardy plhardy 72640552 juil. 16 11:55 map.vox |
| | drwxr-xr-x 7 plhardy plhardy 4096 juil. 16 11:56 worldmods |
| | -rw-r--r-- 1 plhardy plhardy 38 juil. 16 11:55 world.mt |
| | </code> |
| | |
| | donc il faut compter environ 100M d'utilisé |
| |
| ===== openstreet map 3D ===== | ===== openstreet map 3D ===== |
| |
| | ==== OSM2World ==== |
| | |
| | [[http://osm2world.org/]] |
| | |
| OSM2World [[https://wiki.openstreetmap.org/wiki/OSM2World]] | [[https://wiki.openstreetmap.org/wiki/OSM2World]] |
| | |
| état actuel (15/03/2019) sous ubuntu 16.04 OSM2World se lance et permet de visualiser valbonne en 3D | état actuel (15/03/2019) sous ubuntu 16.04 OSM2World se lance et permet de visualiser valbonne en 3D |
| |
| l'import du format obj wavefront est supporté par [[blender]] | l'import du format obj wavefront est supporté par [[blender]] |
| | |
| | |
| | OSM2World$ mvn package |
| | |
| | OSM2World$ java -jar target/osm2world-0.3.0-SNAPSHOT.jar --help |
| | The options available are: |
| | [--config value] : properties file with configuration parameters |
| | [--gui] : start the graphical user interface |
| | [--help -?] : show this help |
| | [--input -i value] : the .osm input file |
| | [--input_bbox /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/...] : lat,lon pairs defining an input bounding box (does not work with files) |
| | [--input_mode /FILE|OVERPASS/] : input mode |
| | [--input_query value] : overpass query string |
| | [--output -o /(.*)\.(?:obj|pov|o2w.pbf|png|ppm|gd)/...] : output files |
| | [--overpass_url value] : overpass instance to use |
| | [--oview.angle value] : downwards angle of orthographic view in degrees |
| | [--oview.bbox /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/...] : lat,lon pairs defining a bounding box for orthographic view |
| | [--oview.from /[NESW]/] : direction from which the orthographic view is rendered |
| | [--oview.tiles /([0-9]{1,2}),([0-9]{1,9}),([0-9]{1,9})/...] : zoom,x,y triples of tiles defining a bounding box for orthographic view |
| | [--parameterFile value] : a file containing one set of parameters per line |
| | [--parameterFileDir value] : a directory containing parameter files; new files may be added while OSM2World is running |
| | [--performancePrint] : writes execution times to the command line |
| | [--performanceTable value] : appends a line with execution times to a file |
| | [--pview.aspect value] : aspect ratio (width / height) for perspective view |
| | [--pview.fovy value] : vertical field of view angle for perspective view, in degrees |
| | [--pview.lookAt /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/] : lat,lon,ele of camera look-at for perspective view |
| | [--pview.pos /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/] : lat,lon,ele of camera position for perspective view |
| | [--resolution /([0-9]{1,9}),([0-9]{1,9})/] : output size in pixels |
| | [--version] : print software version and exit |
| | |
| | OSM2World$ java -jar target/osm2world-0.3.0-SNAPSHOT.jar --version |
| | OSM2World 0.3.0-dev |
| | |
| | java -jar target/osm2world-0.3.0-SNAPSHOT.jar --gui |
| | |
| | le plus simple est d'exporter la carte depuis openstreetmap.org et ensuite d'ouvrir le fichier depuis le gui d'OSM2World. |
| | |
| | {{:slvpartage:osm2world_valbonne_2020-08-25_13-50-08.png?direct&400|}} |
| ====== Jeu ====== | ====== Jeu ====== |
| |
| ====== Jeux ====== | ====== Jeux ====== |
| |
| | Voir le projet minetest [[slvpartage:minetest]] |
| minetest | |
| |
| flightgear : http://wiki.flightgear.org/Osm2city.py | flightgear : http://wiki.flightgear.org/Osm2city.py |
| |
| |