{"id":80,"date":"2008-02-15T08:41:06","date_gmt":"2008-02-15T07:41:06","guid":{"rendered":"http:\/\/www.ozone3d.net\/blogs\/lab\/?p=80"},"modified":"2011-09-07T20:16:04","modified_gmt":"2011-09-07T19:16:04","slug":"quick-review-generation-darbres-avec-dryadenglishquick-review-tree-generation-with-dryadenglish","status":"publish","type":"post","link":"https:\/\/www.ozone3d.net\/blogs\/lab\/20080215\/quick-review-generation-darbres-avec-dryadenglishquick-review-tree-generation-with-dryadenglish\/","title":{"rendered":"Quick Review &#8211; G\u00e9n\u00e9ration d&#8217;Arbres avec Dryad"},"content":{"rendered":"[French]\n<a href=\"http:\/\/dryad.stanford.edu\">Dryad<\/a> est un g\u00e9n\u00e9rateur d&#8217;arbres. C&#8217;est une application OpenGL et il est disponible pour Windows et MacOS X. Dryad permet de s\u00e9lectionner un arbre \u00e0 partir d&#8217;un espace d&#8217;arbres (sur le cot\u00e9 droit de l&#8217;application) en utilisant une interpolation entre les diff\u00e9rents arbres se trouvant autour de la souris. Attention car Dryad est tr\u00e8s gourmand en m\u00e9moire et 2Go de ram sont vivement conseill\u00e9s. <\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_01.jpg\"\/><\/center><\/p>\n<p>Une fois le type d&#8217;arbre s\u00e9lectionn\u00e9, un clique sur l&#8217;icone des engrenages qui affiche les param\u00e8tres de l&#8217;arbre. Il est possible de tout param\u00e9trer: le tronc, les feuilles, les branches.<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_02.jpg\"\/><\/center><\/p>\n<p>Sur l&#8217;image suivante, j&#8217;ai diminu\u00e9 le nombre de feuilles et l\u00e9g\u00e8rement incurv\u00e9 les branches du haut.<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_03.jpg\"\/><\/center><\/p>\n<p>Mes r\u00e9glages aboutissent \u00e0 ce r\u00e9sultat final:<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_04.jpg\"\/><\/center><\/p>\n<p>Dryad exporte votre cr\u00e9ation sous la forme d&#8217;un fichier OBJ. Celui de l&#8217;image pr\u00e9c\u00e9dente fait environ 62Mo, ouch! Le fichier OBJ est correctement g\u00e9n\u00e9r\u00e9 et est accompagn\u00e9 de son fichier de materiaux. En modifiant \u00e0 nouveau les param\u00e8tres, j&#8217;obtient un fichier OBJ de 2Mo qui contient environ 24000 faces. Ok chargeons-le maintenant dans HyperView3D:<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_hyperview3d_03.jpg\"\/><\/center><\/p>\n<p>Le probl\u00e8me est que les coordonn\u00e9es z et y sont invers\u00e9es. Mais HyperView3D poss\u00e8de une petite fonction pour rem\u00e9dier \u00e0 ce probl\u00e8me: la permutation des coordonn\u00e9es Y et Z des vertices. Vu que c&#8217;est un probl\u00e8me que l&#8217;on rencontre de temps en temps, cette petite fonctionnalit\u00e9 est utile.<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_hyperview3d_04.jpg\"\/><\/center><\/p>\n<p>Pour ceux qui veulent s&#8217;amuser avec ce mod\u00e8le OBJ, le voil\u00e0: <a href=\"public\/200802\/20080214_InfamousLab_Dryad_Tree.zip\">Dryad_Tree.zip<\/a>.<\/p>\n<p>Conclusion: Dryad est un petit utilitaire pratique pour la g\u00e9n\u00e9ration d&#8217;arbres mais n\u00e9cessite une machine puissante. L&#8217;export en OBJ permet d&#8217;exploiter ses cr\u00e9ations dans toutes les applications 3D qui prennent en charge ce format (comme <a href=\"http:\/\/www.ozone3d.net\/demoniak3d\/\">Demoniak3D<\/a> par exemple!).<\/p>\n<hr \/>\n<hr \/>\n<p><a href=\"http:\/\/dryad.stanford.edu\">Dryad<\/a> is a tree gnenrator. It&#8217;s an OpenGL application and is available for Windows and MacOS X. Dryad allows to select a tree from a space called &#8220;the space of all trees&#8221; (in the right side of the app). The tree is created by interpolation between all trees that lie near the mouse. Pay attention because Dryad is very memory-consuming and 2 Gb of ram is recommended.<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_01.jpg\"\/><\/center><\/p>\n<p>Once you have select your tree, a click on the gearing icon displays the tree parameters. You can customize everything: trunk, leaves, branches.<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_02.jpg\"\/><\/center><\/p>\n<p>On the following image, I reduced the number of leaves and slightly incurved the upper branches.<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_03.jpg\"\/><\/center><\/p>\n<p>My adjustments end up to :<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_04.jpg\"\/><\/center><\/p>\n<p>Dryad exports your creation in an OBJ file. The one of the previous image is a huge 62Mb OBJ file, ouch! The OBJ file is properly generated and comes with its materials file. 62Mb is too big, and after a few adjustments, I get a 2Mb OBJ file with approximately 24000 faces. Okay now let&#8217;s load it in HyperView3D:<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_hyperview3d_03.jpg\"\/><\/center><\/p>\n<p>Now the problem now is that Y and Z coordinates are reversed. But HyperView3D has a little function to solve this problem: the swap of Y and Z coordinates. Because we encouter this problem time to time, this little function is useful&#8230;<\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.ozone3d.net\/blogs\/lab\/public\/200802\/dryad_hyperview3d_04.jpg\"\/><\/center><\/p>\n<p>For those who want to play with that OBJ file, you can grab it here: <a href=\"public\/200802\/20080214_InfamousLab_Dryad_Tree.zip\">Dryad_Tree.zip<\/a>.<\/p>\n<p>Conclusion: Dryad is a handy utility for trees generation but requires a powerful computer. The OBJ export makes it possible to exploit the trees in all 3D applications that can load this standard format (like <a href=\"http:\/\/www.ozone3d.net\/demoniak3d\/\">Demoniak3D<\/a> for instance!).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[French] Dryad est un g\u00e9n\u00e9rateur d&#8217;arbres. C&#8217;est une application OpenGL et il est disponible pour Windows et MacOS X. Dryad permet de s\u00e9lectionner un arbre \u00e0 partir d&#8217;un espace d&#8217;arbres (sur le cot\u00e9 droit de l&#8217;application) en utilisant une interpolation entre les diff\u00e9rents arbres se trouvant autour de la souris. Attention car Dryad est tr\u00e8s gourmand en m\u00e9moire et 2Go de ram sont vivement conseill\u00e9s. &hellip; <a href=\"https:\/\/www.ozone3d.net\/blogs\/lab\/20080215\/quick-review-generation-darbres-avec-dryadenglishquick-review-tree-generation-with-dryadenglish\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Quick Review &#8211; G\u00e9n\u00e9ration d&#8217;Arbres avec Dryad<\/span> <span class=\"meta-nav\">&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[238,241,240,638,239,72],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-tests-reviews","tag-dryad","tag-hyperview3d","tag-obj-file","tag-opengl","tag-tree-generation","tag-utility"],"aioseo_notices":[],"views":1372,"_links":{"self":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":0,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}