{"id":373,"date":"2021-05-13T20:03:17","date_gmt":"2021-05-13T18:03:17","guid":{"rendered":"http:\/\/osiris.itabc.cnr.it\/aton\/?page_id=373"},"modified":"2022-07-12T20:37:59","modified_gmt":"2022-07-12T18:37:59","slug":"tut-collections","status":"publish","type":"page","link":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/","title":{"rendered":"Populating Collections"},"content":{"rendered":"\n<p class=\"has-text-align-justify\">Common questions after the framework <a class=\"ek-link\" href=\"http:\/\/osiris.itabc.cnr.it\/aton\/index.php\/how-to\/getting-started\/\">is up and running<\/a> are indeed:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>Where are located 3D models<\/em>? <em>How can I add and publish new 3D content<\/em>?<\/p><\/blockquote>\n\n\n\n<p class=\"has-text-align-justify\">In ATON each user has its own <strong>collection <\/strong>(3D models, 360 panoramas, audio, etc..) that contains web-ready items that will be arranged into <strong>scenes<\/strong>. You can have a look <a href=\"http:\/\/osiris.itabc.cnr.it\/aton\/index.php\/overview\/collections-scenes\/\" data-type=\"page\" data-id=\"710\">at this brief overview<\/a> or see here a sample scheme:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection-1024x511.jpg\" alt=\"\" class=\"wp-image-632\" width=\"754\" height=\"376\" srcset=\"https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection-1024x511.jpg 1024w, https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection-300x150.jpg 300w, https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection-768x383.jpg 768w, https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection.jpg 1400w\" sizes=\"auto, (max-width: 754px) 100vw, 754px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">As shown in the above scheme, a <strong>scene <\/strong>in ATON is an <em>arrangement <\/em>of <strong>collection items <\/strong>(you can have different scenes referencing the same 3D model!). You can dig more into the advantages of this approach on the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.mdpi.com\/2076-3417\/11\/22\/11062\" target=\"_blank\">main reference paper<\/a> (section 3.2): each scene you&#8217;ll create\/publish will possess a <strong>unique identifier <\/strong>(or <em>scene ID<\/em>), making it accessible to others connected in the same network.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">So&#8230; we need to <strong>populate our collection<\/strong> first!<\/p>\n\n\n\n<p>Or if you want to play first with sample items (e.g. 3D models) and create your first scene right away &#8211; <a href=\"http:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/pub-scene\/\" data-type=\"page\" data-id=\"508\">follow this tutorial<\/a>!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Where is located my collection?<\/h4>\n\n\n\n<p class=\"has-text-align-justify\">All users collections for a given ATON instance are physically located in <code><strong>data\/collections\/<\/strong><\/code><\/p>\n\n\n\n<p>Let&#8217;s say your username (person, museum, institution, etc.) is &#8220;<code><strong>&lt;USER&gt;<\/strong><\/code>&#8220;: your collection is simply located in <code><strong>data\/collections\/&lt;USER&gt;\/<\/strong><\/code>. Here you can place your 3D models, panoramas, audio, and much more. You will find sample items located in <code><strong>data\/collections\/samples\/<\/strong><\/code> to play with.<\/p>\n\n\n\n<p>For instance the collection of the demo user &#8220;<strong><em>bastet<\/em><\/strong>&#8220;, is located in <code><strong>data\/collections\/bastet\/<\/strong><\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Adding 3D models<\/h4>\n\n\n\n<p class=\"has-text-align-justify\">You can simply place your 3D model(s) in <code><strong>data\/collections\/&lt;USER&gt;\/models\/<\/strong><\/code>. In order to be used for published 3D scenes, files placed here must adhere to web standards and open specifications embraced by ATON framework, such as <a aria-label=\"GLTF format (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\" href=\"https:\/\/www.khronos.org\/gltf\/\" target=\"_blank\">glTF format<\/a> (<strong>.gltf <\/strong>or .<strong>glb<\/strong>) or <a rel=\"noreferrer noopener\" href=\"https:\/\/www.ogc.org\/standards\/3DTiles\" target=\"_blank\">Cesium tilesets<\/a> (<strong>.json<\/strong>).<\/p>\n\n\n\n<p>After the first ATON installation, you can start with a demo user called <strong>bastet<\/strong>. Thus you can place your test 3D model into <code><strong>data\/collections\/bastet\/models\/<\/strong><\/code>. If not there, just create the folder.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">You are free to organize your own sub-directories as you like, including 3D models and related resources (e.g. textures, geometries).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"202\" src=\"http:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/07\/sample-gltf-collection.jpg\" alt=\"\" class=\"wp-image-800\" srcset=\"https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/07\/sample-gltf-collection.jpg 606w, https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/07\/sample-gltf-collection-300x100.jpg 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><figcaption>A sample 3D model (&#8220;skyphos.gltf&#8221;) and required resources inside the bastet models&#8217; collection<\/figcaption><\/figure>\n\n\n\n<p>Now you are able to populate your collection on your <strong>local instance<\/strong>, and then <a href=\"http:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/pub-scene\/\" data-type=\"page\" data-id=\"508\">create or publish a 3D scene<\/a> &#8211; but <strong><a href=\"http:\/\/osiris.itabc.cnr.it\/aton\/index.php\/accessing-collections-and-scenes\/\" data-type=\"page\" data-id=\"687\">how to <em>access your collection remotely<\/em><\/a><\/strong> ?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Common questions after the framework is up and running are indeed: Where are located 3D models? How can I add and publish new 3D content? In ATON each user has its own collection (3D models, 360 panoramas, audio, etc..) that contains web-ready items that will be arranged into scenes. You can have a look at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":253,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-373","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Populating Collections - ATON<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Populating Collections - ATON\" \/>\n<meta property=\"og:description\" content=\"Common questions after the framework is up and running are indeed: Where are located 3D models? How can I add and publish new 3D content? In ATON each user has its own collection (3D models, 360 panoramas, audio, etc..) that contains web-ready items that will be arranged into scenes. You can have a look at [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/\" \/>\n<meta property=\"og:site_name\" content=\"ATON\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-12T18:37:59+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection-1024x511.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/\",\"url\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/\",\"name\":\"Populating Collections - ATON\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/scenes-collection-1024x511.jpg\",\"datePublished\":\"2021-05-13T18:03:17+00:00\",\"dateModified\":\"2022-07-12T18:37:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/#primaryimage\",\"url\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/scenes-collection.jpg\",\"contentUrl\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/scenes-collection.jpg\",\"width\":1400,\"height\":698},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/tut-collections\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/index.php\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Populating Collections\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/#website\",\"url\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/\",\"name\":\"ATON\",\"description\":\"open-source Web3D\\\/WebXR framework by CNR ISPC\",\"publisher\":{\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/#organization\",\"name\":\"ATON\",\"url\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/aton-logo-100.png\",\"contentUrl\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/aton-logo-100.png\",\"width\":100,\"height\":100,\"caption\":\"ATON\"},\"image\":{\"@id\":\"https:\\\/\\\/osiris.itabc.cnr.it\\\/aton\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Populating Collections - ATON","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/","og_locale":"en_US","og_type":"article","og_title":"Populating Collections - ATON","og_description":"Common questions after the framework is up and running are indeed: Where are located 3D models? How can I add and publish new 3D content? In ATON each user has its own collection (3D models, 360 panoramas, audio, etc..) that contains web-ready items that will be arranged into scenes. You can have a look at [&hellip;]","og_url":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/","og_site_name":"ATON","article_modified_time":"2022-07-12T18:37:59+00:00","og_image":[{"url":"http:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection-1024x511.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/","url":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/","name":"Populating Collections - ATON","isPartOf":{"@id":"https:\/\/osiris.itabc.cnr.it\/aton\/#website"},"primaryImageOfPage":{"@id":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/#primaryimage"},"image":{"@id":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/#primaryimage"},"thumbnailUrl":"http:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection-1024x511.jpg","datePublished":"2021-05-13T18:03:17+00:00","dateModified":"2022-07-12T18:37:59+00:00","breadcrumb":{"@id":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/#primaryimage","url":"https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection.jpg","contentUrl":"https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/06\/scenes-collection.jpg","width":1400,"height":698},{"@type":"BreadcrumbList","@id":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/tut-collections\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/osiris.itabc.cnr.it\/aton\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/tutorials\/"},{"@type":"ListItem","position":3,"name":"Populating Collections"}]},{"@type":"WebSite","@id":"https:\/\/osiris.itabc.cnr.it\/aton\/#website","url":"https:\/\/osiris.itabc.cnr.it\/aton\/","name":"ATON","description":"open-source Web3D\/WebXR framework by CNR ISPC","publisher":{"@id":"https:\/\/osiris.itabc.cnr.it\/aton\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/osiris.itabc.cnr.it\/aton\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/osiris.itabc.cnr.it\/aton\/#organization","name":"ATON","url":"https:\/\/osiris.itabc.cnr.it\/aton\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/osiris.itabc.cnr.it\/aton\/#\/schema\/logo\/image\/","url":"https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/12\/aton-logo-100.png","contentUrl":"https:\/\/osiris.itabc.cnr.it\/aton\/wp-content\/uploads\/2022\/12\/aton-logo-100.png","width":100,"height":100,"caption":"ATON"},"image":{"@id":"https:\/\/osiris.itabc.cnr.it\/aton\/#\/schema\/logo\/image\/"}}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/pages\/373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":53,"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/pages\/373\/revisions"}],"predecessor-version":[{"id":801,"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/pages\/373\/revisions\/801"}],"up":[{"embeddable":true,"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/pages\/253"}],"wp:attachment":[{"href":"https:\/\/osiris.itabc.cnr.it\/aton\/index.php\/wp-json\/wp\/v2\/media?parent=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}