{"id":155,"date":"2023-06-29T14:10:03","date_gmt":"2023-06-29T14:10:03","guid":{"rendered":"https:\/\/glb.ee\/blog\/?p=155"},"modified":"2023-06-29T14:10:03","modified_gmt":"2023-06-29T14:10:03","slug":"whats-the-difference-between-gltf-and-glb","status":"publish","type":"post","link":"https:\/\/glb.ee\/blog\/whats-the-difference-between-gltf-and-glb\/","title":{"rendered":"What\u2019s the Difference Between glTF and GLB?"},"content":{"rendered":"\n<p>Since its humble beginnings in the late 1960s, 3D scanning has come on leaps and bounds, revolutionising how we create digital models of real-world objects and environments. While it\u2019s easy to consider its use in fields such a architecture, engineering, and gaming, the practical applications are much further reaching. In 2023, fields as varied as medicine, education, and even art history are using 3D scanning technology to disrupt and progress their industries.&nbsp;<\/p>\n\n\n\n<p>If you\u2019re just getting into 3D scanning, you might have already come across some of the various file formats used to save and share models. Two of the most popular formats are glTF and GLB. If at this point you\u2019re scratching your head and thinking, \u201cHuh?\u201d, don\u2019t worry \u2013 things are about to get a lot less complicated.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is a glTF File?<\/strong><\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/gltf20file.jpg\" alt=\"glTF File\" class=\"wp-image-169\" srcset=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/gltf20file.jpg 1920w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/gltf20file-300x169.jpg 300w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/gltf20file-1024x576.jpg 1024w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/gltf20file-768x432.jpg 768w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/gltf20file-1536x864.jpg 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>Short for GL Transmission Format, a glTF file is one of the most common 3D model files. It is an open-source format and, as such, you\u2019ll find that it\u2019s supported by most 3D modelling software. glTF supports animation, moving scenes, and static models and is used in AR, VR, 3D ads, gaming, and native web applications. They\u2019re also easily embedded in documents such as Microsoft Word and PowerPoint files. Still with us? Good.<\/p>\n\n\n\n<p>Now for some of the techier jargon. glTF is based on JSON (JavaScript Object Notation), while external files hold some of the data, for example shaders (GLSL) or textures (JPEG or PNG). So, what does this mean? Firstly, interoperability. JSON is very common, so exchanging between different platforms is quick and easy. Secondly, by splitting the data into separate files, it reduces the overall file size, leading to faster transfer and load times against certain other formats. Thirdly, by keeping shaders and textures separate, this can improve overall performance and speed up rendering. Finally, separate storage also makes it easy to edit or replace parts of your model, leaving the rest unchanged.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is a GLB File?<\/strong><\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glb20file.jpg\" alt=\"glb File\" class=\"wp-image-170\" srcset=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glb20file.jpg 1920w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glb20file-300x169.jpg 300w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glb20file-1024x576.jpg 1024w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glb20file-768x432.jpg 768w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glb20file-1536x864.jpg 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>Created in 2015 and based off the glTF format, GLB (GL Binary) is another ubiquitous 3D file. Put simply, a GLB is a single binary version of a glTF file. As a self-contained, standalone format, it includes all the assets needed to display the model, including textures, materials, lighting, node hierarchy, and animations. With a GLB file, the user requires no additional files or software to load your 3D model. This makes sharing and managing your models very easy because there are no separate files to manage. This also reduces the file size even further, quickening load times.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What\u2019s the Difference Between glTF and GLB?<\/strong><\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"605\" src=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/What27s20the20difference20between20gLTF20and20GLB203d20reperesentation.jpg\" alt=\"What's the difference between gLTF and GLB 3d representation\" class=\"wp-image-166\" srcset=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/What27s20the20difference20between20gLTF20and20GLB203d20reperesentation.jpg 1080w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/What27s20the20difference20between20gLTF20and20GLB203d20reperesentation-300x168.jpg 300w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/What27s20the20difference20between20gLTF20and20GLB203d20reperesentation-1024x574.jpg 1024w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/What27s20the20difference20between20gLTF20and20GLB203d20reperesentation-768x430.jpg 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p>The main difference between glTF and GLB is that GLB is a binary file format, whilst glTF is based on JSON, a text-based data format. GLB combines all the constituent elements of a 3D model or scene (textures, lighting, etc.) into one single compressed file. Conversely, glTF houses these separately, meaning additional files and dependences will usually be needed to display a model.&nbsp;<\/p>\n\n\n\n<p>So, does this make one better than the other? Well, this depends on your needs. With glTF, you\u2019ll find it much easier to edit individual elements because they\u2019re found in separate files. On the other hand, GLB is simpler to use in general and \u2013 because it\u2019s an autonomous file \u2013 takes up less memory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How Can I Share My glTF and GLB Files?<\/strong><\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"592\" src=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glTF20sharing20platform.jpg\" alt=\"glbee - glTF sharing platform\" class=\"wp-image-172\" srcset=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glTF20sharing20platform.jpg 1080w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glTF20sharing20platform-300x164.jpg 300w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glTF20sharing20platform-1024x561.jpg 1024w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glTF20sharing20platform-768x421.jpg 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p>The best way to share glTF and GLB files is via <a href=\"https:\/\/glb.ee\/upload-model\">glb.ee<\/a>. If you haven\u2019t already, you can <a href=\"https:\/\/glb.ee\/upload-model\">sign up completely free of charge<\/a>. It only takes a minute to create your own account, and it\u2019s incredibly easy to use. When you\u2019ve got your file, it\u2019s just a matter of a click and a drag onto your glb.ee dashboard. Once uploaded, you can instantly view your file and share it with whomever you like. It really is that simple.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why Use glb.ee?<\/strong><\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"592\" src=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glb20sharing20patform.jpg\" alt=\"glbee - glb sharing platform\" class=\"wp-image-173\" srcset=\"https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glb20sharing20patform.jpg 1080w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glb20sharing20patform-300x164.jpg 300w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glb20sharing20patform-1024x561.jpg 1024w, https:\/\/glb.ee\/blog\/wp-content\/uploads\/2023\/06\/glbee20-20glb20sharing20patform-768x421.jpg 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/figure>\n\n\n\n<p>Well, first off, it\u2019s free. We realise we\u2019ve already mentioned this, but we thought we\u2019d say it again, just in case you missed it. But there\u2019s more to glb.ee than that. Once you\u2019ve created your model, you\u2019ll want to share it with your colleagues, collaborators, clients, or even your friends. With short link and QR code creation, this can be done in a few seconds.&nbsp;<\/p>\n\n\n\n<p>Want to view your models in AR (augmented reality)? You can do that too! Plus, you\u2019re able to put your own personal flavour on your work with custom branding. And with access to model analytics, various lighting, environment, and cube map options, you\u2019ll be wondering why you didn\u2019t sign up sooner.<\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background\"><strong><em>To try glb.ee for free today <a rel=\"noreferrer noopener\" href=\"https:\/\/glb.ee\/\" data-type=\"URL\" data-id=\"https:\/\/glb.ee\/\" target=\"_blank\">click here<\/a><\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since its humble beginnings in the late 1960s, 3D scanning has come on leaps and bounds, revolutionising how we create digital models of real-world objects and environments. While it\u2019s easy to consider its use in fields such a architecture, engineering, and gaming, the practical applications are much further reaching. In 2023, fields as varied as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":159,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[7,8,9,12,16,18],"class_list":["post-155","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-interesting-articles","tag-3d","tag-3dartist","tag-3dmodels","tag-fbx","tag-glb","tag-obj"],"_links":{"self":[{"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":0,"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/media\/159"}],"wp:attachment":[{"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glb.ee\/blog\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}