{"id":243,"date":"2012-10-27T13:05:58","date_gmt":"2012-10-27T12:05:58","guid":{"rendered":"http:\/\/eboreal.com\/devblog\/?p=243"},"modified":"2014-05-29T21:53:21","modified_gmt":"2014-05-29T20:53:21","slug":"faire-souffler-le-vent","status":"publish","type":"post","link":"https:\/\/eboreal.com\/devblog\/faire-souffler-le-vent\/","title":{"rendered":"Faire souffler le vent"},"content":{"rendered":"<p>Maintenant que le parcours est fonctionnel, je me suis attaqu\u00e9 \u00e0 calculer le vent en fonction du relief. J&rsquo;ai commenc\u00e9 par \u00e9tudier les m\u00e9thodes de calculs a\u00e9ro et hydro dynamiques, \u00e0 base d&rsquo;\u00e9quations de Navier-Stroke ou Euler. Tous les logiciels ou librairies sont tr\u00e8s chers ou tr\u00e8s compliqu\u00e9s pour un simple jeu&#8230;<\/p>\n<p>Ma premi\u00e8re id\u00e9e est de d\u00e9former une grille en fonction du terrain :<\/p>\n<p><a href=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-18.55.36.png\" data-rel=\"lightbox-gallery-OW0wsZN8\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-245\" title=\"\" src=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-18.55.36.png\" alt=\"\" width=\"694\" height=\"697\" srcset=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-18.55.36.png 694w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-18.55.36-150x150.png 150w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-18.55.36-300x300.png 300w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/a><\/p>\n<p>La d\u00e9formation est proportionnelle \u00e0 l&rsquo;altitude.<\/p>\n<p><a href=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.16.41.png\" data-rel=\"lightbox-gallery-OW0wsZN8\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-247\" title=\"\" src=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.16.41.png\" alt=\"\" width=\"722\" height=\"711\" srcset=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.16.41.png 722w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.16.41-300x295.png 300w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><\/p>\n<p>Pas terrible, certaines parties se chevauchent, cela ne va pas \u00eatre \u00e9vident d&rsquo;en tirer quelque chose.<\/p>\n<p>Une autre id\u00e9e a consist\u00e9 \u00e0 ne d\u00e9former la grille que perpendiculairement au vent :<\/p>\n<p><a href=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.52.12.png\" data-rel=\"lightbox-gallery-OW0wsZN8\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-248\" title=\"\" src=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.52.12.png\" alt=\"\" width=\"694\" height=\"695\" srcset=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.52.12.png 694w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.52.12-150x150.png 150w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.52.12-300x300.png 300w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-26-a\u0300-22.52.12-440x440.png 440w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/a><\/p>\n<p>Voila, ce n&rsquo;est pas parfait, mais c&rsquo;est beaucoup plus pr\u00e8s de ce que je voulais obtenir comme effet.<\/p>\n<p>En faisant tourner la carte (ou le vent) on obtient ces diff\u00e9rentes d\u00e9viations :<\/p>\n<p><a href=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.30.30.png\" data-rel=\"lightbox-gallery-OW0wsZN8\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-249\" title=\"\" src=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.30.30.png\" alt=\"\" width=\"735\" height=\"718\" srcset=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.30.30.png 735w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.30.30-300x293.png 300w\" sizes=\"(max-width: 735px) 100vw, 735px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.31.28.png\" data-rel=\"lightbox-gallery-OW0wsZN8\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-250\" title=\"\" src=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.31.28.png\" alt=\"\" width=\"721\" height=\"714\" srcset=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.31.28.png 721w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.31.28-150x150.png 150w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.31.28-300x297.png 300w\" sizes=\"(max-width: 721px) 100vw, 721px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.32.21.png\" data-rel=\"lightbox-gallery-OW0wsZN8\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-251\" title=\"\" src=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.32.21.png\" alt=\"\" width=\"707\" height=\"716\" srcset=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.32.21.png 707w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.32.21-296x300.png 296w\" sizes=\"(max-width: 707px) 100vw, 707px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.33.19.png\" data-rel=\"lightbox-gallery-OW0wsZN8\" data-rl_title=\"\" data-rl_caption=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-252\" title=\"\" src=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.33.19.png\" alt=\"\" width=\"723\" height=\"716\" srcset=\"https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.33.19.png 723w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.33.19-150x150.png 150w, https:\/\/eboreal.com\/devblog\/wp-content\/uploads\/2012\/10\/Capture-d\u2019e\u0301cran-2012-10-27-a\u0300-09.33.19-300x297.png 300w\" sizes=\"(max-width: 723px) 100vw, 723px\" \/><\/a><\/p>\n<p>J&rsquo;ai mis quelques jours pour obtenir un effet qui me parait acceptable, maintenant il faut en d\u00e9duire la direction et la force du vent.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maintenant que le parcours est fonctionnel, je me suis attaqu\u00e9 \u00e0 calculer le vent en fonction du relief. J&rsquo;ai commenc\u00e9 par \u00e9tudier les m\u00e9thodes de calculs a\u00e9ro et hydro dynamiques, \u00e0 base d&rsquo;\u00e9quations de Navier-Stroke ou Euler. Tous les logiciels ou librairies sont tr\u00e8s chers ou tr\u00e8s compliqu\u00e9s pour un simple jeu&#8230; Ma premi\u00e8re id\u00e9e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":249,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4,13],"tags":[],"class_list":["post-243","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-sail-boat-sim-race","et-has-post-format-content","et_post_format-et-post-format-standard"],"_links":{"self":[{"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":6,"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":270,"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/posts\/243\/revisions\/270"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/media\/249"}],"wp:attachment":[{"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eboreal.com\/devblog\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}