{"id":1580,"date":"2024-05-17T16:24:49","date_gmt":"2024-05-17T16:24:49","guid":{"rendered":"https:\/\/www.contrastruction.com\/artgallery\/?p=1580"},"modified":"2024-05-17T16:28:05","modified_gmt":"2024-05-17T16:28:05","slug":"road-guide-deforum-open-source-workflow","status":"publish","type":"post","link":"https:\/\/www.contrastruction.com\/artgallery\/road-guide-deforum-open-source-workflow\/","title":{"rendered":"Road Guide &#8211; Deforum Open Source Workflow"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Here is an open source tutorial guide for an AI workflow with potential use case&#8230;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First we start with the AI generator, get here: <a href=\"https:\/\/github.com\/lllyasviel\/stable-diffusion-webui-forge\">https:\/\/github.com\/lllyasviel\/stable-diffusion-webui-forge<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then install the Deforum extension here: <a href=\"https:\/\/github.com\/deforum-art\/sd-forge-deforum\">https:\/\/github.com\/deforum-art\/sd-forge-deforum<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are going to make something like this here: <a href=\"https:\/\/www.contrastruction.com\/acidai\/VRUX\/gethere\/\" data-type=\"link\" data-id=\"https:\/\/www.contrastruction.com\/acidai\/VRUX\/gethere\/\">contrastruction.com\/acidai\/VRUX\/gethere\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The use case for this video animation is for a driving simulation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using Deforum,<br> here are all the open source asset files that Deforum generated to create this video: <a href=\"https:\/\/www.contrastruction.com\/files\/roadAssets.zip\" data-type=\"link\" data-id=\"https:\/\/www.contrastruction.com\/files\/roadAssets.zip\">roadAssets.zip<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The main thing about this workflow is in the 3D deforum settings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"714\" src=\"https:\/\/www.contrastruction.com\/artgallery\/wp-content\/uploads\/scrnroad.png\" alt=\"\" class=\"wp-image-1581\" srcset=\"https:\/\/www.contrastruction.com\/artgallery\/wp-content\/uploads\/scrnroad.png 655w, https:\/\/www.contrastruction.com\/artgallery\/wp-content\/uploads\/scrnroad-275x300.png 275w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When Zooming in on a road, the zoom view will just go in close to the ground of the road.<br>So we make sure to also adjust the 3D movement to go UP as well as IN&#8230;..<\/p>\n\n\n\n<div class=\"container\">\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video height=\"896\" style=\"aspect-ratio: 696 \/ 896;\" width=\"696\" controls src=\"https:\/\/www.contrastruction.com\/artgallery\/wp-content\/uploads\/20240512213348.mp4\"><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">There will be many different ways to accomplish this effect and we still have not yet dialed it in completely but we do like lately using something like this in the 3D movement to cause it to go upwards as well as down so that the video will follow along forward as the direction is moving upwards as well as zooming. We had a negative (-0.24) on Translation Y and (0.48) on Rotation 3D X, which is set to move the direction up 0.24 while also causing an extra 3D effect that we have been liking lately.  Though if you are looking for more realism in the driving simulation, we recommend using something different as far as the moving up with zooming in but this is the basic idea.<\/p>\n\n\n<div class=\"container\">\n\t<div class=\"social-share-buttons btn btn-lg bg-dark-subtle\">\n\t\t<h6 class=\"bg-warning\">\n\t\t\tSHARE:\n\t\t<\/h6>\n        <a class=\"twitter\" href=\"#\" target=\"_blank\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-twitter\"><path d=\"M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z\"><\/path><\/svg>\n        <\/a>\n        <a class=\"facebook\" href=\"#\" target=\"_blank\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-facebook\"><path d=\"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z\"><\/path><\/svg>\n        <\/a>\n<a class=\"reddit\" href=\"#\" target=\"_blank\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 6.5.2 by @fontawesome - https:\/\/fontawesome.com License - https:\/\/fontawesome.com\/license\/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc. --><path d=\"M0 256C0 114.6 114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256L37.1 512c-13.7 0-20.5-16.5-10.9-26.2L75 437C28.7 390.7 0 326.7 0 256zM349.6 153.6c23.6 0 42.7-19.1 42.7-42.7s-19.1-42.7-42.7-42.7c-20.6 0-37.8 14.6-41.8 34c-34.5 3.7-61.4 33-61.4 68.4l0 .2c-37.5 1.6-71.8 12.3-99 29.1c-10.1-7.8-22.8-12.5-36.5-12.5c-33 0-59.8 26.8-59.8 59.8c0 24 14.1 44.6 34.4 54.1c2 69.4 77.6 125.2 170.6 125.2s168.7-55.9 170.6-125.3c20.2-9.6 34.1-30.2 34.1-54c0-33-26.8-59.8-59.8-59.8c-13.7 0-26.3 4.6-36.4 12.4c-27.4-17-62.1-27.7-100-29.1l0-.2c0-25.4 18.9-46.5 43.4-49.9l0 0c4.4 18.8 21.3 32.8 41.5 32.8zM177.1 246.9c16.7 0 29.5 17.6 28.5 39.3s-13.5 29.6-30.3 29.6s-31.4-8.8-30.4-30.5s15.4-38.3 32.1-38.3zm190.1 38.3c1 21.7-13.7 30.5-30.4 30.5s-29.3-7.9-30.3-29.6c-1-21.7 11.8-39.3 28.5-39.3s31.2 16.6 32.1 38.3zm-48.1 56.7c-10.3 24.6-34.6 41.9-63 41.9s-52.7-17.3-63-41.9c-1.2-2.9 .8-6.2 3.9-6.5c18.4-1.9 38.3-2.9 59.1-2.9s40.7 1 59.1 2.9c3.1 .3 5.1 3.6 3.9 6.5z\"\/><\/svg>\n<\/a>\n        <a class=\"eventbrite\" href=\"#\" target=\"_blank\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-calendar\"><rect x=\"3\" y=\"4\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"><\/rect><line x1=\"16\" y1=\"2\" x2=\"16\" y2=\"6\"><\/line><line x1=\"8\" y1=\"2\" x2=\"8\" y2=\"6\"><\/line><line x1=\"3\" y1=\"10\" x2=\"21\" y2=\"10\"><\/line>\n<\/svg>\n        <\/a>        \n        <a class=\"linkedin\" href=\"#\" target=\"_blank\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-linkedin\"><path d=\"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z\"><\/path><rect x=\"2\" y=\"9\" width=\"4\" height=\"12\"><\/rect><circle cx=\"4\" cy=\"4\" r=\"2\"><\/circle>\n<\/svg>\n        <\/a>\n <a class=\"email\" href=\"mailto:?subject=Check%20out%20this%20page&body=I%20thought%20you%20might%20find%20this%20interesting:%20https%3A%2F%2Fwww.contrastruction.com%2Fartgallery%2Froad-guide-deforum-open-source-workflow%2F\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-mail\"><path d=\"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z\"><\/path><polyline points=\"22,6 12,13 2,6\"><\/polyline>\n<\/svg>\n <\/a>\n        <a class=\"copy-link\" href=\"#\" target=\"_blank\">\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-link\"><path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"><\/path><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"><\/path>\n<\/svg>\n        <\/a>        \n    <\/div>\n\t<\/div>\n    \n\n\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>An open source workflow, AI use case for deforum video animation.<\/p>\n","protected":false},"author":1,"featured_media":1583,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,18,33,42,37,45],"tags":[5,35,6,28],"class_list":["post-1580","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-art","category-open-source","category-video-production","category-vr","category-workflow","tag-ai","tag-ai-art","tag-ai-tools","tag-experiment"],"_links":{"self":[{"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/posts\/1580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/comments?post=1580"}],"version-history":[{"count":4,"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/posts\/1580\/revisions"}],"predecessor-version":[{"id":1588,"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/posts\/1580\/revisions\/1588"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/media\/1583"}],"wp:attachment":[{"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/media?parent=1580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/categories?post=1580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.contrastruction.com\/artgallery\/wp-json\/wp\/v2\/tags?post=1580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}