{"id":1054,"date":"2013-01-18T00:38:50","date_gmt":"2013-01-18T00:38:50","guid":{"rendered":"http:\/\/www.s2powered.com\/?p=1054"},"modified":"2019-05-31T18:48:24","modified_gmt":"2019-05-31T18:48:24","slug":"import-an-old-scene-into-new-project","status":"publish","type":"post","link":"https:\/\/www.s2powered.com\/copiasito\/1054\/import-an-old-scene-into-new-project\/tutorials\/oldtut\/01\/2013\/","title":{"rendered":"Import an old scene into new project"},"content":{"rendered":"<p>In this tutorial I&#8217;ll show how to import a scene made with old <strong>S2ENGINE HD 1.03.00 <\/strong>version inside a project created with <strong>S2ENGINE HD 1.4.0.<\/strong><\/p>\n<p><!--more--><br \/>\nSuppose you have already created a new project (read <a title=\"Quick start with S2ENGINE HD 1.4.0 \u2013 part 1\" href=\"http:\/\/www.s2powered.com\/2013\/01\/quick-start-with-s2engine-hd-1-4-0-part-1\/\">this article<\/a> to know how to do), \u00a0and <em>you have already copied all files of your scene from previous installation of the engine inside the standard engine folders (textures, materials, scenes, models, etc..) of the new installation<\/em> (<strong><em>NOTE that this is the standard procedure you must do to copy a scene of an engine installation into another UNTIL the new 1.4.0, where you can use projects<\/em><\/strong>).<\/p>\n<p>How to import into the project the scene you created with previous 1.03.00 engine version?<\/p>\n<p>Pratically you have first to create (we say &#8220;<strong><em>publish<\/em><\/strong>&#8220;) an asset of the scene (a folder containing all the scene resources) and then import it into the project.<\/p>\n<p>Let&#8217;s see how to do this in detail.<\/p>\n<p>Select the scene browser inside the project tool as showed into the following pitcure:<a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_0.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1084 alignnone\" alt=\"tut2_0\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_0.png\" width=\"370\" height=\"452\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_0.png 370w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_0-245x300.png 245w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/a><br \/>\nthen click right mouse button on the icon of the scene you want to publish: a <em>popup menu<\/em> will appear (see the picture below).<a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1085 alignnone\" alt=\"tut2_1\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_1.png\" width=\"375\" height=\"482\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_1.png 375w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_1-233x300.png 233w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/a><\/p>\n<p>Click on &#8220;<em>Publish&#8230;<\/em>&#8220;. A file dialog will appear: choose a folder inside to put the published scene, insert the name of the scene asset to create (<em>and press &#8216;enter&#8217;<\/em>) as showed into the image.<br \/>\n<a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1086 alignnone\" alt=\"tut2_2\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_2.png\" width=\"455\" height=\"446\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_2.png 455w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_2-300x294.png 300w\" sizes=\"auto, (max-width: 455px) 100vw, 455px\" \/><\/a><\/p>\n<p>Now click on &#8220;<em>Publish<\/em>&#8221; in the file dialog: the engine will create a new folder (in this case named &#8220;<strong><em>NewScene<\/em><\/strong>&#8221; and it will put all scene resources inside it.<\/p>\n<p>Finally we have converted the scene into an asset, now open a previously created project: we want to import the scene into the project.<\/p>\n<p>Well, click on the the <em>Edit<\/em> menu and select <em>Project-&gt;Import<\/em> Asset (<em>see the picture below<\/em>).<\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1087 alignnone\" alt=\"tut2_3\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_3.png\" width=\"455\" height=\"329\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_3.png 455w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_3-300x216.png 300w\" sizes=\"auto, (max-width: 455px) 100vw, 455px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>A file dialog will appear: choose the folder of your scene.<\/p>\n<p><em><strong>NOTE than when you import assets you can choose a file BUT ALSO an entire folder<\/strong><\/em>.\u00a0<em>In our case we have to choose the an entire folder so click on the scene folder, as showed in the next picture,\u00a0in order to see want is inside and then click on Open.<\/em><\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_4.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1088 alignnone\" alt=\"tut2_4\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut2_4.png\" width=\"463\" height=\"580\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_4.png 463w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_4-300x375.png 300w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_4-239x300.png 239w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>Voil\u00e0<\/em><\/strong>, the project browser will fill with all scene resources, the scene is imported.<\/p>\n<p>The beauty of this procedure is that it can be applied with all type of <strong><em>asset\/file<\/em><\/strong>, not only <em><strong>scenes<\/strong><\/em>. So you can publish <em><strong>models<\/strong> <\/em>(in this case the engine will create a folder inside placing the model but also all <em><strong>textures<\/strong> <\/em>and <em><strong>materials<\/strong> <\/em>used by the <em><strong>model<\/strong><\/em>), <em><strong>objects<\/strong> <\/em>(so the engine will create a folder inside placing all <em><strong>models<\/strong><\/em>, <em><strong>scripts<\/strong><\/em>, <strong><em>textures<\/em><\/strong>, <strong><em>materials<\/em><\/strong>, <strong><em>animations<\/em> <\/strong>used by the <strong><em>object<\/em><\/strong>), and so on&#8230; and then import them as assets as showed in the article.<\/p>\n<p>&nbsp;<\/p>\n<p>That&#8217;s all for now guys.<\/p>\n<p>Stay tuned&#8230;<\/p>\n<p><script type=\"text\/javascript\">\/\/ < ![CDATA[\n\/\/ < ![CDATA[\nvar vglnk = { api_url: '\/\/api.viglink.com\/api', key: 'a187ca0f52aa99eb8b5c172d5d93c05b' };\n\/\/ ]]><\/script><script type=\"text\/javascript\" src=\"\/\/cdn.viglink.com\/api\/vglnk.js\" async=\"\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial I&#8217;ll show how to import a scene made with old S2ENGINE HD 1.03.00 version inside a project created with S2ENGINE HD 1.4.0.<\/p>\n","protected":false},"author":1,"featured_media":1087,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[262],"tags":[],"class_list":["post-1054","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldtut"],"jetpack_featured_media_url":"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut2_3.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/posts\/1054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/comments?post=1054"}],"version-history":[{"count":31,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/posts\/1054\/revisions"}],"predecessor-version":[{"id":1099,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/posts\/1054\/revisions\/1099"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/media\/1087"}],"wp:attachment":[{"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/media?parent=1054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/categories?post=1054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/tags?post=1054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}