{"id":122,"date":"2007-09-28T22:02:28","date_gmt":"2007-09-28T20:02:28","guid":{"rendered":"http:\/\/leotheodon.com\/V4\/?p=122"},"modified":"2019-01-29T21:18:49","modified_gmt":"2019-01-29T20:18:49","slug":"projet-ray-tracer-en-caml","status":"publish","type":"post","link":"https:\/\/www.leotheodon.com\/V4\/2007\/09\/28\/projet-ray-tracer-en-caml\/","title":{"rendered":"[Projet] Ray-Tracer en Caml"},"content":{"rendered":"\n<p>Un Ray-Tracer r\u00e9alis\u00e9 en Caml\u2026 En voil\u00e0 une dr\u00f4le d\u2019id\u00e9e ! D\u2019autant plus lorsque l\u2019on connait la puissance et la rapidit\u00e9 de rendu de l\u2019extension graphique de ce merveilleux langage. Mais cela ne risque pas de nous arr\u00eater. Bien au contraire!<\/p>\n\n\n\n<p>Ce projet a \u00e9t\u00e9 donn\u00e9 \u00e0 la rentr\u00e9e scolaire de 2007, et j\u2019ai la chance d\u2019avoir \u00e9t\u00e9 aid\u00e9 par un \u00e9l\u00e8ve d\u2019une autre \u00e9cole (c\u2019est pourquoi il n\u2019est pas cr\u00e9dit\u00e9, et aussi pour conserver son anonymat).<\/p>\n\n\n\n<p>Le principe du Ray-Tracing est relativement simple. Comme son nom l\u2019indique, en supposant que l\u2019on a mod\u00e9lis\u00e9 une sc\u00e8ne en 3D, d\u2019une fa\u00e7on ou d\u2019une autre, on lance, de mani\u00e8re rectiligne, et pour chaque pixel de l\u2019\u00e9cran, ce qui constitue la surface visible, on rayon. Ce rayon va interagir avec les objets de notre sc\u00e8ne, en fonction de leur couleur, leur inclinaison, etc \u2026 et nous allons pouvoir d\u00e9terminer de quelle couleur est notre pixel, et ainsi de suite, jusqu\u2019\u00e0 avoir d\u00e9termin\u00e9 la couleur de chaque pixel \u00e0 l\u2019\u00e9cran.<\/p>\n\n\n\n<p><strong>T\u00e9l\u00e9charger :<\/strong><\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"http:\/\/leotheodon.com\/V4\/wp-content\/uploads\/2019\/01\/LT_raytracer_caml.pdf\">&#8211; Le rapport au format pdf : <\/a><a href=\"http:\/\/leotheodon.com\/V4\/wp-content\/uploads\/2019\/01\/LT_raytracer_caml.pdf\" class=\"wp-block-file__button\" download>T\u00e9l\u00e9charger<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Un Ray-Tracer r\u00e9alis\u00e9 en Caml\u2026 En voil\u00e0 une dr\u00f4le d\u2019id\u00e9e ! D\u2019autant plus lorsque l\u2019on connait la puissance et la rapidit\u00e9&#8230;<\/p>\n","protected":false},"author":1,"featured_media":176,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[3,32],"tags":[36,33,34,11,35],"class_list":["post-122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education","category-informatique","tag-caml","tag-informatique","tag-projet","tag-rapport","tag-ray-tracer"],"_links":{"self":[{"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":1,"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/posts\/122\/revisions\/123"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/media\/176"}],"wp:attachment":[{"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leotheodon.com\/V4\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}