{"id":923,"date":"2014-07-06T19:49:39","date_gmt":"2014-07-06T18:49:39","guid":{"rendered":"http:\/\/www.zylannprods.fr\/fr\/?p=923"},"modified":"2014-07-06T21:50:35","modified_gmt":"2014-07-06T20:50:35","slug":"creer-une-normal-map-dans-paint-net","status":"publish","type":"post","link":"https:\/\/www.zylannprods.fr\/fr\/creer-une-normal-map-dans-paint-net\/","title":{"rendered":"Cr\u00e9er une normal map dans Paint.NET"},"content":{"rendered":"<p>Aujourd&rsquo;hui je m&rsquo;ennuyais un peu, alors j&rsquo;ai programm\u00e9 mon premier plugin pour <a href=\"http:\/\/www.getpaint.net\/\" target=\"_blank\">Paint.NET 4.0<\/a>. Il permet de convertir n&rsquo;importe quelle image en normal map.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-926\" alt=\"greyscale_to_nmap\" src=\"https:\/\/www.zylannprods.fr\/fr\/wp-content\/uploads\/2014\/07\/greyscale_to_nmap.jpg\" width=\"800\" height=\"576\" srcset=\"https:\/\/www.zylannprods.fr\/fr\/wp-content\/uploads\/2014\/07\/greyscale_to_nmap.jpg 800w, https:\/\/www.zylannprods.fr\/fr\/wp-content\/uploads\/2014\/07\/greyscale_to_nmap-300x216.jpg 300w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><br \/>\nJe me suis bas\u00e9 sur la valeur du canal rouge, et en l&rsquo;interpr\u00e9tant comme une \u00ab\u00a0hauteur\u00a0\u00bb, j&rsquo;ai pu calculer les normales en chaque pixel. Et voil\u00e0!<\/p>\n<p>Voici le plugin: <a href=\"https:\/\/www.zylannprods.fr\/fr\/wp-content\/uploads\/2014\/07\/GreyscaleToNormalMap.zip\">GreyscaleToNormalMap<\/a><\/p>\n<p>Pour l&rsquo;installer, copiez-collez le simplement dans le dossier Effects de votre installation de Paint.NET (la version 4.0 est requise).<\/p>\n<p>Notez que je d\u00e9cline toute responsabilit\u00e9 en cas de dommages \u00e9ventuels, je met ce plugin \u00e0 disposition tel quel, libre \u00e0 vous de vous en servir \ud83d\ude42<\/p>\n<p>Bugs: convertir une s\u00e9lection (et non l&rsquo;image enti\u00e8re) en normal map ne fonctionne pas bien, \u00e0 cause d&rsquo;un bug \u00e9trange dans CodeLab qui produisait des lignes non converties.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aujourd&rsquo;hui je m&rsquo;ennuyais un peu, alors j&rsquo;ai programm\u00e9 mon premier plugin pour Paint.NET 4.0. Il permet de convertir n&rsquo;importe quelle<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[53],"tags":[89,87,86,85,88],"_links":{"self":[{"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/posts\/923"}],"collection":[{"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/comments?post=923"}],"version-history":[{"count":7,"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/posts\/923\/revisions"}],"predecessor-version":[{"id":930,"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/posts\/923\/revisions\/930"}],"wp:attachment":[{"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/media?parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/categories?post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zylannprods.fr\/fr\/wp-json\/wp\/v2\/tags?post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}