{"id":954,"date":"2013-01-01T20:01:00","date_gmt":"2013-01-01T20:01:00","guid":{"rendered":"http:\/\/www.s2powered.com\/?p=954"},"modified":"2019-05-31T18:59:27","modified_gmt":"2019-05-31T18:59:27","slug":"quick-start-with-s2engine-hd-1-4-0-part-1","status":"publish","type":"post","link":"https:\/\/www.s2powered.com\/copiasito\/954\/quick-start-with-s2engine-hd-1-4-0-part-1\/tutorials\/oldtut\/01\/2013\/","title":{"rendered":"Quick start with S2ENGINE HD 1.4.0 &#8211; part 1"},"content":{"rendered":"<p>In this tutorial I&#8217;ll show you how to create a new project and starting to develop it.<\/p>\n<p>First click on &#8220;<em>NewProject&#8230;<\/em>&#8221; button in the &#8220;<em>File<\/em>&#8221; menu, as showed into the following image.<br \/>\n<!--more--><\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p0.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-955\" alt=\"tut0_p0\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p0-300x271.jpg\" width=\"300\" height=\"271\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p0-300x271.jpg 300w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p0.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>A new dialogbox will appear. It will let you to open an existing project, by clicking on one of the 3 file thumbs on the top, or creating a completely new project. <strong>NOTE:<\/strong>\u00a0<em><strong>IN TRIAL version the &#8220;new project dialog&#8221; cannot be selected from menu BUT \u00a0it appears just when editor starts.<\/strong><\/em><br \/>\nTo do this you have to choose the folder in which put your project.<\/p>\n<p>Now give your project a name by writing in into the &#8220;<em>Project Name<\/em>&#8221; input box.<\/p>\n<p><strong><em>NOTE:<\/em><\/strong> <em>When <strong>S2ENGINE HD<\/strong> creates the project it creates a new folder with the same name you have given to you project, in this folder all project assets will be put.<\/em><\/p>\n<p>Starting from <strong>1.4.0<\/strong> version when you place an object into a scene the engine requests the plugin containing the class the object belongs to. For now the only plugin available is <strong><em>S2BasePack.dll<\/em><\/strong> so when you create a project you have to select this plugin in order to make editor using it when working with the project. To select the plugin simply click on its name in the <em>plugins to load<\/em> list.<\/p>\n<p>Now you can click on the <strong><em>Create<\/em><\/strong> button to create your new project.<\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-956\" alt=\"tut0_p1\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p1-227x300.jpg\" width=\"227\" height=\"300\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p1-227x300.jpg 227w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p1.jpg 528w\" sizes=\"auto, (max-width: 227px) 100vw, 227px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>When created the project is empty, so you see nothing into the <strong>Project Resources<\/strong><em> tool. \u00a0The first thing you have to do now is create a new scene.<\/em><\/p>\n<p>Click on the &#8220;<strong><em>New&#8230;<\/em><\/strong>&#8221; icon as showed into the following picture.<\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-957\" alt=\"tut0_p2\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p2-300x287.jpg\" width=\"300\" height=\"287\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p2-300x287.jpg 300w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p2.jpg 499w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>The &#8220;<strong><em>Create new scene<\/em><\/strong>&#8221; dialogbox will appear. \u00a0As for the &#8220;<em>Create New Project<\/em>&#8221; dialogbox It lets you to choose an existing scene or creating a completely new one.<\/p>\n<p>As showed into the following image:<\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-958\" alt=\"tut0_p3\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p3-300x232.jpg\" width=\"300\" height=\"232\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p3-300x232.jpg 300w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p3-270x210.jpg 270w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p3.jpg 477w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>To create a new scene insert the scene name into the &#8220;<strong><em>Scene Filename<\/em><\/strong>&#8221; inputbox (and press enter).<\/p>\n<p>Every scene must have a limited volume you have to specify before creating it. In the example before we created a scene extended for 1000&#215;1000 meters. To specify scene dimensions write them into the <em><strong>Dims<\/strong><\/em> inputbox.<\/p>\n<p><strong><em>NOTE:<\/em><\/strong> <em>These measures must be inserted in centimeters (1000 meters = 100000 centimeters) the Engine will show you automatically the measure in meters.<\/em><\/p>\n<p>Now you can create the scene by clicking on the <strong><em>Create<\/em><\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p>If you want to build an open scene, maybe you would like to create a <em>terrain<\/em> into the scene.<\/p>\n<p>To do so click on the <strong><em>CreateTerrain<\/em><\/strong> icon as showed into the following image:<\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-959\" alt=\"tut0_p4\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p4.jpg\" width=\"265\" height=\"120\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>The <strong>C<em>reateTerrain<\/em><\/strong> dialogbox will appear:<\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-960\" alt=\"tut0_p5\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p5.jpg\" width=\"488\" height=\"310\" srcset=\"https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p5.jpg 488w, https:\/\/www.s2powered.com\/copiasito\/wp-content\/uploads\/2013\/01\/tut0_p5-300x190.jpg 300w\" sizes=\"auto, (max-width: 488px) 100vw, 488px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>As in previous version of the engine the following are parameters of the terrain creation:<\/p>\n<ul>\n<li><em><strong>Name<\/strong><\/em>: Input box that must contains the name of the terrain material you want to create. When terrain is created a new material is also created into the Materials\/Terrains\/ folder.<\/li>\n<li><em><strong>Terrain Dims<\/strong><\/em>: this combo box lets you to set the world dimensions (expressed in Kilometers) of the terrain. Available dimensions are 8&#215;8,4&#215;4,2&#215;2,1&#215;1,0.5&#215;0.5.<\/li>\n<li><em><strong>Heightmap res<\/strong><\/em>: the resolution of the heightmap. Bigger the resolution more terrain details you obtain. Note that this implies also more used system and graphics memory<\/li>\n<li><em><strong>VgMap Res<\/strong><\/em>: Vegetation Map resolution. Vegetation map (see below) is a map containings information about where are placed the objects of a given vegetation layer. More high is this resolution more precisely you can place vegetation on the terrain. The vegetation map uses exclusively system memory But it must be also set carefully preventing out of memory problems.<\/li>\n<li><em><strong>Mask Res<\/strong><\/em>: This is the resolution of the Terrain textures layer mask and of the terrain colour map. It consumes more memory (expecially graphics memory) than all the other maps and it is responsible of the terrain texture splatting. Bigger the resolution more details you can paint on the terrain.<\/li>\n<\/ul>\n<p>Once you have set parameters for your terrain you can click on the create button to place the new terrain into the scene.<\/p>\n<p>As showed in the following image the terrain will look just like a violet plane.<\/p>\n<p>You will be able to sculpt it using the <strong><em>terrain tool<\/em><\/strong> that can be accessed by clicking on the <strong><em>terrain<\/em> <\/strong>icon as showed into the picture<strong>.<\/strong><\/p>\n<p><a href=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft  wp-image-961\" alt=\"tut0_p6\" src=\"http:\/\/www.s2powered.com\/wp-content\/uploads\/2013\/01\/tut0_p6.jpg\" width=\"507\" height=\"418\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Ok guys, that&#8217;s all for now.<\/p>\n<p>In the next part I will show how to using all the terrain tools for terrain sculpting and vegetation creation in the new <strong>S2ENGINE HD 1.4.0<\/strong><em>.<\/em><\/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 you how to create a new project and starting to develop it. First click on &#8220;NewProject&#8230;&#8221; button in the &#8220;File&#8221; menu, as showed into the following image.<\/p>\n","protected":false},"author":1,"featured_media":956,"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-954","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\/tut0_p1.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/posts\/954","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=954"}],"version-history":[{"count":44,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/posts\/954\/revisions"}],"predecessor-version":[{"id":2314,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/posts\/954\/revisions\/2314"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/media\/956"}],"wp:attachment":[{"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/media?parent=954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/categories?post=954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s2powered.com\/copiasito\/wp-json\/wp\/v2\/tags?post=954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}