diff --git a/3d-asset-store-propsplanet-upgrades-from-unity-to-playcanvas/index.html b/3d-asset-store-propsplanet-upgrades-from-unity-to-playcanvas/index.html index c725610dc..9a1727e49 100644 --- a/3d-asset-store-propsplanet-upgrades-from-unity-to-playcanvas/index.html +++ b/3d-asset-store-propsplanet-upgrades-from-unity-to-playcanvas/index.html @@ -5,11 +5,11 @@ 3D Asset Store Propsplanet upgrades from Unity to PlayCanvas | PlayCanvas Blog - - + + -
Skip to main content

3D Asset Store Propsplanet upgrades from Unity to PlayCanvas

· 2 min read

logos

+

3D Asset Store Propsplanet upgrades from Unity to PlayCanvas

· 2 min read

logos

Propsplanet is an online digital marketplace which sells 3D models to independent game developers. Previously powered by the Unity Web Player browser plugin, Propsplanet has this week relaunched using the PlayCanvas engine.

"Upgrading our online 3D preview from Unity to PlayCanvas has made a huge difference to the customer experience on our website. It lets us broaden our audience from desktop only to include every shopper including tablet and mobile users. Our early tests show that using PlayCanvas decreases page loading times by over 10x which has led to more item views and the average time on site has increased by over 500%.”

diff --git a/404.html b/404.html index ac06dd40d..b0362f3ee 100644 --- a/404.html +++ b/404.html @@ -5,8 +5,8 @@ Page Not Found | PlayCanvas Blog - - + +

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/a-graph-rendering-library-for-the-web-pcui-graph/index.html b/a-graph-rendering-library-for-the-web-pcui-graph/index.html index 865b67374..9de54d0d9 100644 --- a/a-graph-rendering-library-for-the-web-pcui-graph/index.html +++ b/a-graph-rendering-library-for-the-web-pcui-graph/index.html @@ -5,11 +5,11 @@ A Graph Rendering Library for the Web: PCUI Graph | PlayCanvas Blog - - + + -

A Graph Rendering Library for the Web: PCUI Graph

· 2 min read
Elliott Thompson
Software Engineer

Today, we are excited to announce a new open source library: PCUI Graph. It’s a graph rendering framework for the browser which can be used to build and view various types of node-based graphs.

+

A Graph Rendering Library for the Web: PCUI Graph

· 2 min read
Elliott Thompson
Software Engineer

Today, we are excited to announce a new open source library: PCUI Graph. It’s a graph rendering framework for the browser which can be used to build and view various types of node-based graphs.

A Simple Graph
PCUI Graph in action

Last year, we open sourced PCUI, a front-end framework for building web-based tools like the PlayCanvas Editor. This was subsequently used as the foundation for a new family of open source tools: the glTF Viewer and the PlayCanvas Examples Browser. However, some of our more recent tools projects have had requirements related to the creation and editing of node-based graphs. As a result, we set about developing a new plugin to PCUI called PCUI Graph. This plugin is already in use today since it powers both the PlayCanvas Shader Editor and Animation State Graph Editor:

diff --git a/a-multiplayer-3rd-person-shooter-in-html5/index.html b/a-multiplayer-3rd-person-shooter-in-html5/index.html index 371c963c1..1f07c3314 100644 --- a/a-multiplayer-3rd-person-shooter-in-html5/index.html +++ b/a-multiplayer-3rd-person-shooter-in-html5/index.html @@ -5,11 +5,11 @@ Making a multiplayer 3rd-person shooter in HTML5 | PlayCanvas Blog - - + + -

Making a multiplayer 3rd-person shooter in HTML5

· 6 min read

D.E.M.O.
+

Making a multiplayer 3rd-person shooter in HTML5

· 6 min read

D.E.M.O.
D.E.M.O. Multiplayer 3rd-person shooter running in the browser

PlayCanvas were lucky enough to show a demo of our collaborative HTML5 game development toolset at Google I/O a few months back. We had a few existing demos of simple games that we had made in order to test the platform.

However, we really wanted to show something a little more high-end, to showcase the possibilities that HTML5 offers for next-generation browser games. With a little under two weeks to go we started work on the demo we'd feature on the show floor. A networked multiplayer 3rd-person shooter we descriptively called 'scifi'. We’ve since renamed it to the slightly less descriptive D.E.M.O.

diff --git a/a-new-ui-for-the-playcanvas-editor/index.html b/a-new-ui-for-the-playcanvas-editor/index.html index 9a22346e0..c2f6ea07c 100644 --- a/a-new-ui-for-the-playcanvas-editor/index.html +++ b/a-new-ui-for-the-playcanvas-editor/index.html @@ -5,11 +5,11 @@ A New UI for the PlayCanvas Editor | PlayCanvas Blog - - + + -

A New UI for the PlayCanvas Editor

· 3 min read

The PlayCanvas Editor has been around since 2011. Way back then, it was called the PlayCanvas Designer. It was built on Sencha's ExtJS front end framework and looked like this:

+

A New UI for the PlayCanvas Editor

· 3 min read

The PlayCanvas Editor has been around since 2011. Way back then, it was called the PlayCanvas Designer. It was built on Sencha's ExtJS front end framework and looked like this:

As you can see, it sort of looks like a Windows XP application. If you think it looks retro now, it actually looked retro then! But you can more or less recognize it as PlayCanvas. The Pack Explorer is now the Hierarchy panel on the left. The Attribute Editor is now the Inspector. You can even see the 'Who's Online' bar to the bottom right, which is still around today. We decided quite quickly to drop the WinXP aesthetic by adopting a darker theme in September 2013:

diff --git a/a-wild-designer-appears/index.html b/a-wild-designer-appears/index.html index 12f7bcfaf..1bd0d79bc 100644 --- a/a-wild-designer-appears/index.html +++ b/a-wild-designer-appears/index.html @@ -5,11 +5,11 @@ A wild designer appears! | PlayCanvas Blog - - + + -

A wild designer appears!

· One min read

To kick off 2014 with a bang, we're welcoming a brand new member to the PlayCanvas family.

+

A wild designer appears!

· One min read

To kick off 2014 with a bang, we're welcoming a brand new member to the PlayCanvas family.

Roonio logo
Kevin's image doesn't appear on film, so we've used this instead.

Kevin Rooney joins us as Creative Director, check out his amazing portfolio. Kevin is an experienced designer who has sampled the start-up life before at Memrise.

diff --git a/a-wild-programmer-appears/index.html b/a-wild-programmer-appears/index.html index 24fc1e59b..ee83f5f58 100644 --- a/a-wild-programmer-appears/index.html +++ b/a-wild-programmer-appears/index.html @@ -5,11 +5,11 @@ A wild programmer appears! | PlayCanvas Blog - - + + -

A wild programmer appears!

· One min read

It's a big day over at PlayCanvas towers. We have a new programmer. In fact, our first full-time staffer after the founding team.

+

A wild programmer appears!

· One min read

It's a big day over at PlayCanvas towers. We have a new programmer. In fact, our first full-time staffer after the founding team.

Vaios
Humouring the idiot with the camera phone

Vaios joins us from sunny Athens, land of gods, fine olive oil and greeks bearing gifts [Best you could come up with!? - Ed]. More importantly he's got loads of experience writing games and tools for game developers. He spent a number of years working at Sony Computer Entertainment in London on the sadly un-released AAA action title Eight Days, and the ground-breaking console virtual world PlayStation Home. Since then he's been working another virtual world title in Athens.

diff --git a/anim-layer-masks-and-blending/index.html b/anim-layer-masks-and-blending/index.html index 82804b1eb..053efa3e5 100644 --- a/anim-layer-masks-and-blending/index.html +++ b/anim-layer-masks-and-blending/index.html @@ -5,11 +5,11 @@ Anim Layer Masks and Blending | PlayCanvas Blog - - + + -

Anim Layer Masks and Blending

· 4 min read
Elliott Thompson
Software Engineer


+

Anim Layer Masks and Blending

· 4 min read
Elliott Thompson
Software Engineer


RUN DEMO

Today, we are releasing the latest anim component feature: the masking and blending of anim layers.

This is a versatile feature that has been hotly requested by PlayCanvas developers that wish to get even more creative with their animations. We’re excited to be able to share how it works in this blog.

diff --git a/announcing-playcanvas-answers/index.html b/announcing-playcanvas-answers/index.html index 15ea20d7f..9711658a2 100644 --- a/announcing-playcanvas-answers/index.html +++ b/announcing-playcanvas-answers/index.html @@ -5,11 +5,11 @@ PlayCanvas Community Part 1 - Announcing PlayCanvas Answers | PlayCanvas Blog - - + + -

PlayCanvas Community Part 1 - Announcing PlayCanvas Answers

· 3 min read

PlayCanvas Answers logo

+

PlayCanvas Community Part 1 - Announcing PlayCanvas Answers

· 3 min read

PlayCanvas Answers logo

One of our little mantras at PlayCanvas, is that making games is too slow, too hard, and too expensive, and we want to fix that. One way we're going about that is by making great tools which you can use to create games quickly, easily and cheaply.

But tools are are only part of the equation, the next important part of the PlayCanvas story is the Community. A community of smart and creative individuals can lift beginners out of the n00b backwater, push intermediates to excel, and give experts an audience to both educate and impress.

The games industry has traditionally been a secretive place where performance tricks and algorithms were handed around behind closed doors and guarded as trade secrets. Engine documentation was badly written and hidden behind expensive support contracts.

diff --git a/announcing-the-new-playcanvas-asset-store/index.html b/announcing-the-new-playcanvas-asset-store/index.html index 840d0d28e..87c4c40cc 100644 --- a/announcing-the-new-playcanvas-asset-store/index.html +++ b/announcing-the-new-playcanvas-asset-store/index.html @@ -5,11 +5,11 @@ Announcing the New PlayCanvas Asset Store | PlayCanvas Blog - - + + -

Announcing the New PlayCanvas Asset Store

· 4 min read

The PlayCanvas Asset Store is the first place that users tend to go to find content for their projects. This is especially true for new users who want to get started as quickly as possible. Up until now, the Store has not been particularly easy to use and the content has not changed in quite a long time. In short, a complete overhaul and refresh has been long overdue. So today, we are incredibly excited to announce a major upgrade for the PlayCanvas Asset Store!

+

Announcing the New PlayCanvas Asset Store

· 4 min read

The PlayCanvas Asset Store is the first place that users tend to go to find content for their projects. This is especially true for new users who want to get started as quickly as possible. Up until now, the Store has not been particularly easy to use and the content has not changed in quite a long time. In short, a complete overhaul and refresh has been long overdue. So today, we are incredibly excited to announce a major upgrade for the PlayCanvas Asset Store!

First up, check out a little example of building a city scene using content taken from the Asset Store. A skybox, a pack of 3D city block meshes and a camera control script are imported and the city is built via drag and drop. And not one single line of code is needed!

Now, let's examine some of the key highlights that make the new Asset Store so special.

diff --git a/apple-embraces-webgl/index.html b/apple-embraces-webgl/index.html index a4810c6ee..9e1bc469a 100644 --- a/apple-embraces-webgl/index.html +++ b/apple-embraces-webgl/index.html @@ -5,11 +5,11 @@ Apple Embraces WebGL | PlayCanvas Blog - - + + -

Apple Embraces WebGL

· 2 min read

In July 2011, Apple released Safari 5.1 bringing WebGL to OS X users. WebGL advocates the world over rejoiced - except there was a catch. WebGL was disabled by default, hidden behind a flag buried deep within Safari's preferences panel. The general expectation was that a switch to 'on by default' could not be far behind. Almost 3 years on, it seems this view was seriously misjudged.

+

Apple Embraces WebGL

· 2 min read

In July 2011, Apple released Safari 5.1 bringing WebGL to OS X users. WebGL advocates the world over rejoiced - except there was a catch. WebGL was disabled by default, hidden behind a flag buried deep within Safari's preferences panel. The general expectation was that a switch to 'on by default' could not be far behind. Almost 3 years on, it seems this view was seriously misjudged.

But now, it seems things might be about to change due to some exciting developments. Apple has just published the session schedule for WWDC 2014. If you scan the session list, you will find this:

WWDC WebGL Session

So what can we deduce from this (and do excuse the speculation):

diff --git a/archive/index.html b/archive/index.html index 7d1923cc3..be9b7ca59 100644 --- a/archive/index.html +++ b/archive/index.html @@ -5,10 +5,10 @@ Archive | PlayCanvas Blog - - + + -

Archive

Archive

2016

2015

2014

+

Archive

Archive

2016

2015

2014

\ No newline at end of file diff --git a/arm-and-playcanvas-open-source-seemore-webgl-demo/index.html b/arm-and-playcanvas-open-source-seemore-webgl-demo/index.html index e1798f9a7..31c60fe40 100644 --- a/arm-and-playcanvas-open-source-seemore-webgl-demo/index.html +++ b/arm-and-playcanvas-open-source-seemore-webgl-demo/index.html @@ -5,11 +5,11 @@ Arm and PlayCanvas Open Source Seemore WebGL Demo | PlayCanvas Blog - - + + -

Arm and PlayCanvas Open Source Seemore WebGL Demo

· 2 min read

Cambridge/Santa Monica, August 1 2019 - Arm and PlayCanvas are announcing the open sourcing of the renowned Seemore WebGL demo. First published in 2016, the graphical technical demo has been completely rebuilt from the ground up to deliver even more incredible performance and visuals. With it, developers are empowered to build their projects in the most optimized way, as well as using it to incorporate some of its performant features and components into their own projects.

+

Arm and PlayCanvas Open Source Seemore WebGL Demo

· 2 min read

Cambridge/Santa Monica, August 1 2019 - Arm and PlayCanvas are announcing the open sourcing of the renowned Seemore WebGL demo. First published in 2016, the graphical technical demo has been completely rebuilt from the ground up to deliver even more incredible performance and visuals. With it, developers are empowered to build their projects in the most optimized way, as well as using it to incorporate some of its performant features and components into their own projects.

Seemore Demo

PLAY NOW

EXPLORE PROJECT

diff --git a/assets/js/14ab0ac0.4bf60979.js b/assets/js/14ab0ac0.4bf60979.js new file mode 100644 index 000000000..1ad410853 --- /dev/null +++ b/assets/js/14ab0ac0.4bf60979.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_playcanvas_blog=self.webpackChunk_playcanvas_blog||[]).push([[80273],{42100:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>r,metadata:()=>o,toc:()=>d});var s=i(74848),n=i(28453);const r={authors:"will",slug:"gltf-viewer-adds-webgpu-support",title:"glTF Viewer 4.0 Adds WebGPU Support",tags:["ar","gltf","viewer","webgpu","webxr"]},a=void 0,o={permalink:"/gltf-viewer-adds-webgpu-support",editUrl:"https://github.com/playcanvas/blog/tree/main/blog/2023-10-10-gltf-viewer-adds-webgpu-support.md",source:"@site/blog/2023-10-10-gltf-viewer-adds-webgpu-support.md",title:"glTF Viewer 4.0 Adds WebGPU Support",description:"We're thrilled to announce the launch of the open source glTF Viewer 4.0, an update that supercharges your 3D model viewing experience with powerful features and support for the latest web technologies!",date:"2023-10-10T00:00:00.000Z",tags:[{label:"ar",permalink:"/tags/ar"},{label:"gltf",permalink:"/tags/gltf"},{label:"viewer",permalink:"/tags/viewer"},{label:"webgpu",permalink:"/tags/webgpu"},{label:"webxr",permalink:"/tags/webxr"}],readingTime:3.64,hasTruncateMarker:!1,authors:[{name:"Will Eastcott",title:"CEO",url:"https://twitter.com/willeastcott",imageURL:"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png",key:"will"}],frontMatter:{authors:"will",slug:"gltf-viewer-adds-webgpu-support",title:"glTF Viewer 4.0 Adds WebGPU Support",tags:["ar","gltf","viewer","webgpu","webxr"]},unlisted:!1,prevItem:{title:"Boost Your Efficiency: Editor gets Support for AVIF and WebP",permalink:"/avif-webp-land-in-editor"},nextItem:{title:"PlayCanvas Adds Sketchfab Integration",permalink:"/playcanvas-adds-sketchfab-integration"}},l={authorsImageUrls:[void 0]},d=[{value:"New WebGPU Renderer",id:"new-webgpu-renderer",level:4},{value:"Enhanced WebXR AR Mode",id:"enhanced-webxr-ar-mode",level:4},{value:"Frame Selected Node",id:"frame-selected-node",level:4},{value:"Better Immersion with Projective Sky Dome",id:"better-immersion-with-projective-sky-dome",level:4},{value:"Debug and Inspect with Render Mode",id:"debug-and-inspect-with-render-mode",level:4},{value:"Enhanced Realism with VSM Shadows",id:"enhanced-realism-with-vsm-shadows",level:4},{value:"Join Our Open Source Community",id:"join-our-open-source-community",level:3},{value:"Conclusion",id:"conclusion",level:3}];function w(e){const t={a:"a",em:"em",h3:"h3",h4:"h4",img:"img",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.p,{children:["We're thrilled to announce the launch of the ",(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer",children:"open source"})," ",(0,s.jsx)(t.strong,{children:"glTF Viewer 4.0"}),", an update that supercharges your 3D model viewing experience with powerful features and support for the latest web technologies!"]}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(24480).A+"",children:(0,s.jsx)(t.img,{alt:"glTF Viewer 4.0",src:i(6846).A+"",width:"3369",height:"2051"})})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsxs)(t.em,{children:[(0,s.jsx)(t.a,{href:"https://skfb.ly/ooZKG",children:'"Cyber Samurai"'})," by KhoaMinh is licensed under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC BY 4.0"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://playcanvas.com/viewer?load=https://s3.eu-west-1.amazonaws.com/static.playcanvas.com/models/IridescentDishWithOlives.glb&default&skybox.value=Abandoned%20Tank%20Farm&skybox.background=Projective%20Dome&debug.grid=false&shadowCatcher.enabled=true&default",children:(0,s.jsx)(t.strong,{children:"TRY IT NOW"})})}),"\n",(0,s.jsx)(t.p,{children:"This new release is chock-full with enhancements aimed at providing more realistic, insightful, and versatile viewing options for your glTF files. Let's dive into the headline features of glTF Viewer 4.0."}),"\n",(0,s.jsx)(t.h4,{id:"new-webgpu-renderer",children:"New WebGPU Renderer"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"WebGPU Logo",src:i(97792).A+"",width:"796",height:"172"})}),"\n",(0,s.jsx)(t.p,{children:"Topping the list of today's updates is support for WebGPU! WebGPU heralds a new era in graphics and compute capabilities, offering enhanced performance and efficiency. Users can now select WebGPU as their default renderer, and don't worry if your platform doesn't support it yet - the viewer gracefully falls back to WebGL 2, and subsequently WebGL 1, depending on API availability. Note that WebGPU support is considered beta for the moment and you'll need to proactively enable it and refresh the viewer to check it out:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(87326).A+"",children:(0,s.jsx)(t.img,{alt:"Enable WebGPU for glTF Viewer",src:i(83772).A+"",width:"1200",height:"304"})})}),"\n",(0,s.jsx)(t.p,{children:"Also make sure you're running the viewer in a browser that supports WebGPU. At time of writing, this means Google Chrome!"}),"\n",(0,s.jsx)(t.h4,{id:"enhanced-webxr-ar-mode",children:"Enhanced WebXR AR Mode"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/7tV15e4ovzc",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:"Take your 3D models into the real world with our revamped WebXR Augmented Reality (AR) mode! Available currently on Android devices, this enhanced AR mode lets you view any model in your actual environment, complete with intuitive new controls that allow you to accurately position and rotate objects in the real world. Let's hope Apple decides to roll out WebXR support on iOS soon! \ud83d\ude4f"}),"\n",(0,s.jsx)(t.h4,{id:"frame-selected-node",children:"Frame Selected Node"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/lCzTRlO2lmo",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:"Navigating large scenes can be a pain - Viewer 4.0 addresses this by allowing you to select a node in the scene via the hierarchy panel on the left. You can then press 'F' on the keyboard to frame that node and recenter the orbit camera on that node's position."}),"\n",(0,s.jsx)(t.h4,{id:"better-immersion-with-projective-sky-dome",children:"Better Immersion with Projective Sky Dome"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/Upbh-B080MU",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsxs)(t.em,{children:[(0,s.jsx)(t.a,{href:"https://skfb.ly/6R9Ow",children:'"130"'})," by mononofu is licensed under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC BY 4.0"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:"Experience realistic photographic skies with our new projective sky dome! While previous versions allowed for skyboxex with an infinite projection, 4.0 introduces a dome-shaped skybox projection that incorporates a flat ground plane. This warps the skybox texture to have a more believable appearance, delivering a more authentic and immersive perspective, melding your 3D models with strikingly realistic backdrops."}),"\n",(0,s.jsx)(t.h4,{id:"debug-and-inspect-with-render-mode",children:"Debug and Inspect with Render Mode"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(71711).A+"",children:(0,s.jsx)(t.img,{alt:"glTF Viewer Render Mode",src:i(96141).A+"",width:"1960",height:"1079"})})}),"\n",(0,s.jsx)(t.p,{children:"Ensuring that developers can seamlessly troubleshoot and inspect glTF files, the new render mode allows you to select and display individual inputs/outputs of the render pipeline, including albedo, emissive, normals, gloss, AO, and more. This new level of insight is invaluable for debugging, making it even easier to work with your glTF data."}),"\n",(0,s.jsx)(t.h4,{id:"enhanced-realism-with-vsm-shadows",children:"Enhanced Realism with VSM Shadows"}),"\n",(0,s.jsx)(t.p,{children:"The addition of Variance Shadow Mapping (VSM) casts your 3D scenes in a new light, literally! Shadows aren't merely aesthetic; they provide context and depth, especially in AR mode, assisting to ground your object naturally within its real-world environment. Explore scenes with a newfound depth and realism that draws viewers into the experience, both in standard and AR viewing modes. Find the new shadow controls in the Light Settings panel:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(67912).A+"",children:(0,s.jsx)(t.img,{alt:"glTF Viewer Light Settings",src:i(62110).A+"",width:"1386",height:"686"})})}),"\n",(0,s.jsx)(t.h3,{id:"join-our-open-source-community",children:"Join Our Open Source Community"}),"\n",(0,s.jsxs)(t.p,{children:["We're not just excited to share these innovations with you; we're eager to hear your thoughts and welcome your contributions! If there's a feature you're longing for, please don't hesitate to ",(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer/issues",children:"submit your requests"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Better yet, become an active contributor to our codebase! Our open-source community thrives on collaboration and fresh perspectives. So, dive right in, ",(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer",children:"explore the code"}),", and let's shape the future of 3D model viewing together! Your expertise and insights could help shape the next release."]}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer",children:(0,s.jsx)(t.strong,{children:"GO TO GITHUB NOW"})})}),"\n",(0,s.jsx)(t.h3,{id:"conclusion",children:"Conclusion"}),"\n",(0,s.jsx)(t.p,{children:"With glTF Viewer 4.0, we're redefining the standards of 3D model viewing. From WebGPU-powered rendering to WebXR-powered AR, this update is designed to inspire, assist, and elevate your work with glTF data."}),"\n",(0,s.jsxs)(t.p,{children:["So stay creative, friends, and we'll see you on the ",(0,s.jsx)(t.a,{href:"https://forum.playcanvas.com/",children:"forums"}),"! \ud83d\udc4b"]})]})}function c(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(w,{...e})}):w(e)}},24480:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-4-84f02859ae7a6364d0972f02f5db700d.png"},67912:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-light-settings-585d44e37beed14ba579f5ec757d380a.png"},71711:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-render-mode-8cf6f6bc8449badae5ddb43a20fb1dc7.gif"},87326:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-webgpu-toggle-0c04e2ab4d23dfb8d74a22bd060031ca.gif"},6846:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-4-84f02859ae7a6364d0972f02f5db700d.png"},62110:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-light-settings-585d44e37beed14ba579f5ec757d380a.png"},96141:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-render-mode-8cf6f6bc8449badae5ddb43a20fb1dc7.gif"},83772:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-webgpu-toggle-0c04e2ab4d23dfb8d74a22bd060031ca.gif"},97792:(e,t,i)=>{i.d(t,{A:()=>s});const s="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJMb2dvIiB2aWV3Qm94PSI1MS45IDQ5LjEyIDc5NS41NSAxNzEuOTYiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEsIC5jbHMtMiwgLmNscy0zLCAuY2xzLTQsIC5jbHMtNSB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICAgIHN0cm9rZS1saW5lam9pbjogcm91bmQ7CiAgICAgIH0KCiAgICAgIC5jbHMtNiB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CgogICAgICAuY2xzLTEgewogICAgICAgIGZpbGw6ICMwMDVhOWM7CiAgICAgICAgc3Ryb2tlOiAjMDA1YTljOwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICMwMDY2YjA7CiAgICAgICAgc3Ryb2tlOiAjMDA2NmIwOwogICAg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Y2cTUuODc4LTkuOTkzLDUuODgtMjQuNjFWMTAyLjQ2OUg4MzIuMTY0VjE3Ni41NXEwLDE1LjYyMy03LjY0MywyMy4xODJ0LTIxLjA4Miw3LjU1OXEtMTMuNjA2LDAtMjEuMjUtNy41NTl0LTcuNjQzLTIzLjE4MlYxMDIuNDY5SDc1OS4yNTlaIi8+Cjwvc3ZnPg=="},28453:(e,t,i)=>{i.d(t,{R:()=>a,x:()=>o});var s=i(96540);const n={},r=s.createContext(n);function a(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/14ab0ac0.ffe59b33.js b/assets/js/14ab0ac0.ffe59b33.js deleted file mode 100644 index abc5284c1..000000000 --- a/assets/js/14ab0ac0.ffe59b33.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_playcanvas_blog=self.webpackChunk_playcanvas_blog||[]).push([[80273],{42100:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>r,metadata:()=>o,toc:()=>d});var s=i(74848),n=i(28453);const r={authors:"will",slug:"gltf-viewer-adds-webgpu-support",title:"glTF Viewer 4.0 Adds WebGPU Support",tags:["ar","gltf","viewer","webgpu","webxr"]},a=void 0,o={permalink:"/gltf-viewer-adds-webgpu-support",editUrl:"https://github.com/playcanvas/blog/tree/main/blog/2023-10-10-gltf-viewer-adds-webgpu-support.md",source:"@site/blog/2023-10-10-gltf-viewer-adds-webgpu-support.md",title:"glTF Viewer 4.0 Adds WebGPU Support",description:"We're thrilled to announce the launch of the open source glTF Viewer 4.0, an update that supercharges your 3D model viewing experience with powerful features and support for the latest web technologies!",date:"2023-10-10T00:00:00.000Z",tags:[{label:"ar",permalink:"/tags/ar"},{label:"gltf",permalink:"/tags/gltf"},{label:"viewer",permalink:"/tags/viewer"},{label:"webgpu",permalink:"/tags/webgpu"},{label:"webxr",permalink:"/tags/webxr"}],readingTime:3.64,hasTruncateMarker:!1,authors:[{name:"Will Eastcott",title:"CEO",url:"https://twitter.com/willeastcott",imageURL:"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png",key:"will"}],frontMatter:{authors:"will",slug:"gltf-viewer-adds-webgpu-support",title:"glTF Viewer 4.0 Adds WebGPU Support",tags:["ar","gltf","viewer","webgpu","webxr"]},unlisted:!1,prevItem:{title:"Boost Your Efficiency: Editor gets Support for AVIF and WebP",permalink:"/avif-webp-land-in-editor"},nextItem:{title:"PlayCanvas Adds Sketchfab Integration",permalink:"/playcanvas-adds-sketchfab-itegration"}},l={authorsImageUrls:[void 0]},d=[{value:"New WebGPU Renderer",id:"new-webgpu-renderer",level:4},{value:"Enhanced WebXR AR Mode",id:"enhanced-webxr-ar-mode",level:4},{value:"Frame Selected Node",id:"frame-selected-node",level:4},{value:"Better Immersion with Projective Sky Dome",id:"better-immersion-with-projective-sky-dome",level:4},{value:"Debug and Inspect with Render Mode",id:"debug-and-inspect-with-render-mode",level:4},{value:"Enhanced Realism with VSM Shadows",id:"enhanced-realism-with-vsm-shadows",level:4},{value:"Join Our Open Source Community",id:"join-our-open-source-community",level:3},{value:"Conclusion",id:"conclusion",level:3}];function w(e){const t={a:"a",em:"em",h3:"h3",h4:"h4",img:"img",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.p,{children:["We're thrilled to announce the launch of the ",(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer",children:"open source"})," ",(0,s.jsx)(t.strong,{children:"glTF Viewer 4.0"}),", an update that supercharges your 3D model viewing experience with powerful features and support for the latest web technologies!"]}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(24480).A+"",children:(0,s.jsx)(t.img,{alt:"glTF Viewer 4.0",src:i(6846).A+"",width:"3369",height:"2051"})})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsxs)(t.em,{children:[(0,s.jsx)(t.a,{href:"https://skfb.ly/ooZKG",children:'"Cyber Samurai"'})," by KhoaMinh is licensed under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC BY 4.0"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://playcanvas.com/viewer?load=https://s3.eu-west-1.amazonaws.com/static.playcanvas.com/models/IridescentDishWithOlives.glb&default&skybox.value=Abandoned%20Tank%20Farm&skybox.background=Projective%20Dome&debug.grid=false&shadowCatcher.enabled=true&default",children:(0,s.jsx)(t.strong,{children:"TRY IT NOW"})})}),"\n",(0,s.jsx)(t.p,{children:"This new release is chock-full with enhancements aimed at providing more realistic, insightful, and versatile viewing options for your glTF files. Let's dive into the headline features of glTF Viewer 4.0."}),"\n",(0,s.jsx)(t.h4,{id:"new-webgpu-renderer",children:"New WebGPU Renderer"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"WebGPU Logo",src:i(97792).A+"",width:"796",height:"172"})}),"\n",(0,s.jsx)(t.p,{children:"Topping the list of today's updates is support for WebGPU! WebGPU heralds a new era in graphics and compute capabilities, offering enhanced performance and efficiency. Users can now select WebGPU as their default renderer, and don't worry if your platform doesn't support it yet - the viewer gracefully falls back to WebGL 2, and subsequently WebGL 1, depending on API availability. Note that WebGPU support is considered beta for the moment and you'll need to proactively enable it and refresh the viewer to check it out:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(87326).A+"",children:(0,s.jsx)(t.img,{alt:"Enable WebGPU for glTF Viewer",src:i(83772).A+"",width:"1200",height:"304"})})}),"\n",(0,s.jsx)(t.p,{children:"Also make sure you're running the viewer in a browser that supports WebGPU. At time of writing, this means Google Chrome!"}),"\n",(0,s.jsx)(t.h4,{id:"enhanced-webxr-ar-mode",children:"Enhanced WebXR AR Mode"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/7tV15e4ovzc",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:"Take your 3D models into the real world with our revamped WebXR Augmented Reality (AR) mode! Available currently on Android devices, this enhanced AR mode lets you view any model in your actual environment, complete with intuitive new controls that allow you to accurately position and rotate objects in the real world. Let's hope Apple decides to roll out WebXR support on iOS soon! \ud83d\ude4f"}),"\n",(0,s.jsx)(t.h4,{id:"frame-selected-node",children:"Frame Selected Node"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/lCzTRlO2lmo",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:"Navigating large scenes can be a pain - Viewer 4.0 addresses this by allowing you to select a node in the scene via the hierarchy panel on the left. You can then press 'F' on the keyboard to frame that node and recenter the orbit camera on that node's position."}),"\n",(0,s.jsx)(t.h4,{id:"better-immersion-with-projective-sky-dome",children:"Better Immersion with Projective Sky Dome"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/Upbh-B080MU",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsxs)(t.em,{children:[(0,s.jsx)(t.a,{href:"https://skfb.ly/6R9Ow",children:'"130"'})," by mononofu is licensed under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC BY 4.0"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:"Experience realistic photographic skies with our new projective sky dome! While previous versions allowed for skyboxex with an infinite projection, 4.0 introduces a dome-shaped skybox projection that incorporates a flat ground plane. This warps the skybox texture to have a more believable appearance, delivering a more authentic and immersive perspective, melding your 3D models with strikingly realistic backdrops."}),"\n",(0,s.jsx)(t.h4,{id:"debug-and-inspect-with-render-mode",children:"Debug and Inspect with Render Mode"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(71711).A+"",children:(0,s.jsx)(t.img,{alt:"glTF Viewer Render Mode",src:i(96141).A+"",width:"1960",height:"1079"})})}),"\n",(0,s.jsx)(t.p,{children:"Ensuring that developers can seamlessly troubleshoot and inspect glTF files, the new render mode allows you to select and display individual inputs/outputs of the render pipeline, including albedo, emissive, normals, gloss, AO, and more. This new level of insight is invaluable for debugging, making it even easier to work with your glTF data."}),"\n",(0,s.jsx)(t.h4,{id:"enhanced-realism-with-vsm-shadows",children:"Enhanced Realism with VSM Shadows"}),"\n",(0,s.jsx)(t.p,{children:"The addition of Variance Shadow Mapping (VSM) casts your 3D scenes in a new light, literally! Shadows aren't merely aesthetic; they provide context and depth, especially in AR mode, assisting to ground your object naturally within its real-world environment. Explore scenes with a newfound depth and realism that draws viewers into the experience, both in standard and AR viewing modes. Find the new shadow controls in the Light Settings panel:"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:i(67912).A+"",children:(0,s.jsx)(t.img,{alt:"glTF Viewer Light Settings",src:i(62110).A+"",width:"1386",height:"686"})})}),"\n",(0,s.jsx)(t.h3,{id:"join-our-open-source-community",children:"Join Our Open Source Community"}),"\n",(0,s.jsxs)(t.p,{children:["We're not just excited to share these innovations with you; we're eager to hear your thoughts and welcome your contributions! If there's a feature you're longing for, please don't hesitate to ",(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer/issues",children:"submit your requests"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["Better yet, become an active contributor to our codebase! Our open-source community thrives on collaboration and fresh perspectives. So, dive right in, ",(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer",children:"explore the code"}),", and let's shape the future of 3D model viewing together! Your expertise and insights could help shape the next release."]}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/playcanvas/model-viewer",children:(0,s.jsx)(t.strong,{children:"GO TO GITHUB NOW"})})}),"\n",(0,s.jsx)(t.h3,{id:"conclusion",children:"Conclusion"}),"\n",(0,s.jsx)(t.p,{children:"With glTF Viewer 4.0, we're redefining the standards of 3D model viewing. From WebGPU-powered rendering to WebXR-powered AR, this update is designed to inspire, assist, and elevate your work with glTF data."}),"\n",(0,s.jsxs)(t.p,{children:["So stay creative, friends, and we'll see you on the ",(0,s.jsx)(t.a,{href:"https://forum.playcanvas.com/",children:"forums"}),"! \ud83d\udc4b"]})]})}function c(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(w,{...e})}):w(e)}},24480:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-4-84f02859ae7a6364d0972f02f5db700d.png"},67912:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-light-settings-585d44e37beed14ba579f5ec757d380a.png"},71711:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-render-mode-8cf6f6bc8449badae5ddb43a20fb1dc7.gif"},87326:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/files/gltf-viewer-webgpu-toggle-0c04e2ab4d23dfb8d74a22bd060031ca.gif"},6846:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-4-84f02859ae7a6364d0972f02f5db700d.png"},62110:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-light-settings-585d44e37beed14ba579f5ec757d380a.png"},96141:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-render-mode-8cf6f6bc8449badae5ddb43a20fb1dc7.gif"},83772:(e,t,i)=>{i.d(t,{A:()=>s});const s=i.p+"assets/images/gltf-viewer-webgpu-toggle-0c04e2ab4d23dfb8d74a22bd060031ca.gif"},97792:(e,t,i)=>{i.d(t,{A:()=>s});const s="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJMb2dvIiB2aWV3Qm94PSI1MS45IDQ5LjEyIDc5NS41NSAxNzEuOTYiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEsIC5jbHMtMiwgLmNscy0zLCAuY2xzLTQsIC5jbHMtNSB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICAgIHN0cm9rZS1saW5lam9pbjogcm91bmQ7CiAgICAgIH0KCiAgICAgIC5jbHMtNiB7CiAgICAgICAgZmlsbC1ydWxlOiBldmVub2RkOwogICAgICB9CgogICAgICAuY2xzLTEgewogICAgICAgIGZpbGw6ICMwMDVhOWM7CiAgICAgICAgc3Ryb2tlOiAjMDA1YTljOwogICAgICB9CgogICAgICAuY2xzLTIgewogICAgICAgIGZpbGw6ICMwMDY2YjA7CiAgICAgICAgc3Ryb2tlOiAjMDA2NmIwOwogICAgICB9CgogICAgICAuY2xzLTMgewogICAgICAgIGZpbGw6ICMwMDc2Y2M7CiAgICAgICAgc3Ryb2tlOiAjMDA3NmNjOwogICAgICB9CgogICAgICAuY2xzLTQgewogICAgICAgIGZpbGw6ICMwMDg2ZTg7CiAgICAgICAgc3Ryb2tlOiAjMDA4NmU4OwogICAgICB9CgogICAgICAuY2xzLTUgewogICAgICAgIGZpbGw6ICMwMDkzZmY7CiAgICAgICAgc3Ryb2tlOiAjMDA5M2ZmOwogICAgICB9Ci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useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/15ef1816.485f4433.js b/assets/js/15ef1816.485f4433.js new file mode 100644 index 000000000..8bb27cc50 --- /dev/null +++ b/assets/js/15ef1816.485f4433.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_playcanvas_blog=self.webpackChunk_playcanvas_blog||[]).push([[61562],{74818:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>r,toc:()=>h});var s=a(74848),n=a(28453);const o={authors:"will",slug:"playcanvas-adds-sketchfab-integration",title:"PlayCanvas Adds Sketchfab Integration",tags:["asset-store","editor","sketchfab","workflow"]},i=void 0,r={permalink:"/playcanvas-adds-sketchfab-integration",editUrl:"https://github.com/playcanvas/blog/tree/main/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md",source:"@site/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md",title:"PlayCanvas Adds Sketchfab Integration",description:"Today, we're excited to announce the integration of Sketchfab into the PlayCanvas Editor!",date:"2023-06-26T00:00:00.000Z",tags:[{label:"asset-store",permalink:"/tags/asset-store"},{label:"editor",permalink:"/tags/editor"},{label:"sketchfab",permalink:"/tags/sketchfab"},{label:"workflow",permalink:"/tags/workflow"}],readingTime:2.15,hasTruncateMarker:!1,authors:[{name:"Will Eastcott",title:"CEO",url:"https://twitter.com/willeastcott",imageURL:"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png",key:"will"}],frontMatter:{authors:"will",slug:"playcanvas-adds-sketchfab-integration",title:"PlayCanvas Adds Sketchfab Integration",tags:["asset-store","editor","sketchfab","workflow"]},unlisted:!1,prevItem:{title:"glTF Viewer 4.0 Adds WebGPU Support",permalink:"/gltf-viewer-adds-webgpu-support"},nextItem:{title:"Moving from WordPress to Jekyll - A Case Study",permalink:"/moving-from-wordpress-to-jekyll-a-case-study"}},c={authorsImageUrls:[void 0]},h=[{value:"What Is Sketchfab?",id:"what-is-sketchfab",level:3},{value:"Accessing Sketchfab from the Asset Store",id:"accessing-sketchfab-from-the-asset-store",level:3},{value:"Authorizing PlayCanvas to Access Sketchfab",id:"authorizing-playcanvas-to-access-sketchfab",level:3},{value:"New License and Author Info for Assets",id:"new-license-and-author-info-for-assets",level:3},{value:"Go Forth and Create",id:"go-forth-and-create",level:3}];function l(e){const t={a:"a",em:"em",h3:"h3",img:"img",p:"p",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Today, we're excited to announce the integration of Sketchfab into the PlayCanvas Editor!"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/A0WOrjrFPXM",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsxs)(t.em,{children:[(0,s.jsx)(t.a,{href:"https://skfb.ly/6QVvM",children:'"Spartan Armour"'})," by McCarthy3D is licensed under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC BY 4.0"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:"With today's launch you'll have instant access to Sketchfab's enormous library of high quality 3D content right inside the Editor."}),"\n",(0,s.jsx)(t.h3,{id:"what-is-sketchfab",children:"What Is Sketchfab?"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.a,{href:"https://sketchfab.com/",children:"Sketchfab"}),' is a platform that allows users to publish, share and discover 3D content on the web. You can think of it as a sort of "YouTube for 3D models". The platform hosts millions of 3D models in various formats, including glTF, OBJ, STL, and more.']}),"\n",(0,s.jsx)(t.p,{children:"Users can upload their 3D models to Sketchfab and embed them in other websites much like one would embed a YouTube video. This has made it popular for showcasing 3D models for a wide range of uses including game assets, 3D scans, architectural models, and educational content."}),"\n",(0,s.jsx)(t.h3,{id:"accessing-sketchfab-from-the-asset-store",children:"Accessing Sketchfab from the Asset Store"}),"\n",(0,s.jsxs)(t.p,{children:["Earlier this month, we ",(0,s.jsx)(t.a,{href:"https://blog.playcanvas.com/announcing-the-new-playcanvas-asset-store/",children:"announced"})," the brand new PlayCanvas Asset Store. The Asset Store is an in-Editor panel of useful assets that you can use in your projects. With a few clicks, you can browse, discover and import various types of content. So it is the obvious place to incorporate the vast Sketchfab content library."]}),"\n",(0,s.jsx)(t.p,{children:"To access the Sketchfab library, simply hit the Asset Store button on the Asset Panel header and select the SKETCHFAB filter on the left."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:a(77735).A+"",children:(0,s.jsx)(t.img,{alt:"Open Sketchfab",src:a(58973).A+"",width:"2744",height:"1512"})})}),"\n",(0,s.jsx)(t.h3,{id:"authorizing-playcanvas-to-access-sketchfab",children:"Authorizing PlayCanvas to Access Sketchfab"}),"\n",(0,s.jsx)(t.p,{children:"If you want to import models from Sketchfab into PlayCanvas, you first need to create a Sketchfab account. Then, the first time you try to import a Sketchfab model in the Asset Store, you will be asked to authorize PlayCanvas to access your Sketchfab account."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:a(93168).A+"",children:(0,s.jsx)(t.img,{alt:"Authorize Sketchfab",src:a(58062).A+"",width:"1960",height:"1080"})})}),"\n",(0,s.jsx)(t.p,{children:"It's so quick and easy!"}),"\n",(0,s.jsx)(t.h3,{id:"new-license-and-author-info-for-assets",children:"New License and Author Info for Assets"}),"\n",(0,s.jsx)(t.p,{children:"Sketchfab assets are all tagged with a license and an author. When you import Sketchfab content into your PlayCanvas projects, it's important that we preserve this information. Now, when you click on any imported asset, you'll see we've added links to license and author information in the Inspector panel."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:a(78772).A+"",children:(0,s.jsx)(t.img,{alt:"Sketchfab Licenses",src:a(3922).A+"",width:"1960",height:"1080"})})}),"\n",(0,s.jsx)(t.p,{children:"This ensures that the author's licensing wishes are respected and that they recieve credit for their work."}),"\n",(0,s.jsx)(t.h3,{id:"go-forth-and-create",children:"Go Forth and Create"}),"\n",(0,s.jsxs)(t.p,{children:["With today's release, it's never been easier to create interactive 3D experiences for the web. We hope you love the new Sketchfab integration. But, as always, we ",(0,s.jsx)(t.em,{children:"love"})," to hear your opinions so head over to the ",(0,s.jsx)(t.a,{href:"https://forum.playcanvas.com/t/playcanvas-integrates-sketchfab/31885",children:"forum"})," and join the conversation. Happy creating! \ud83d\udea7\ud83d\udc77"]})]})}function d(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},93168:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/files/asset-store-sketchfab-authorize-53243c4836ae1bb55bdb1d4b3617250e.gif"},78772:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/files/asset-store-sketchfab-license-31b8f7956468a51df37a46005655797d.gif"},77735:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/files/asset-store-sketchfab-open-fae17677f171ff590787e8e454f1c17e.gif"},58062:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/images/asset-store-sketchfab-authorize-53243c4836ae1bb55bdb1d4b3617250e.gif"},3922:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/images/asset-store-sketchfab-license-31b8f7956468a51df37a46005655797d.gif"},58973:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/images/asset-store-sketchfab-open-fae17677f171ff590787e8e454f1c17e.gif"},28453:(e,t,a)=>{a.d(t,{R:()=>i,x:()=>r});var s=a(96540);const n={},o=s.createContext(n);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/15ef1816.74645f09.js b/assets/js/15ef1816.74645f09.js deleted file mode 100644 index b37cad6fe..000000000 --- a/assets/js/15ef1816.74645f09.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_playcanvas_blog=self.webpackChunk_playcanvas_blog||[]).push([[61562],{74818:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>r,toc:()=>h});var s=a(74848),n=a(28453);const o={authors:"will",slug:"playcanvas-adds-sketchfab-itegration",title:"PlayCanvas Adds Sketchfab Integration",tags:["asset-store","editor","sketchfab","workflow"]},i=void 0,r={permalink:"/playcanvas-adds-sketchfab-itegration",editUrl:"https://github.com/playcanvas/blog/tree/main/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md",source:"@site/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md",title:"PlayCanvas Adds Sketchfab Integration",description:"Today, we're excited to announce the integration of Sketchfab into the PlayCanvas Editor!",date:"2023-06-26T00:00:00.000Z",tags:[{label:"asset-store",permalink:"/tags/asset-store"},{label:"editor",permalink:"/tags/editor"},{label:"sketchfab",permalink:"/tags/sketchfab"},{label:"workflow",permalink:"/tags/workflow"}],readingTime:2.15,hasTruncateMarker:!1,authors:[{name:"Will Eastcott",title:"CEO",url:"https://twitter.com/willeastcott",imageURL:"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png",key:"will"}],frontMatter:{authors:"will",slug:"playcanvas-adds-sketchfab-itegration",title:"PlayCanvas Adds Sketchfab Integration",tags:["asset-store","editor","sketchfab","workflow"]},unlisted:!1,prevItem:{title:"glTF Viewer 4.0 Adds WebGPU Support",permalink:"/gltf-viewer-adds-webgpu-support"},nextItem:{title:"Moving from WordPress to Jekyll - A Case Study",permalink:"/moving-from-wordpress-to-jekyll-a-case-study"}},c={authorsImageUrls:[void 0]},h=[{value:"What Is Sketchfab?",id:"what-is-sketchfab",level:3},{value:"Accessing Sketchfab from the Asset Store",id:"accessing-sketchfab-from-the-asset-store",level:3},{value:"Authorizing PlayCanvas to Access Sketchfab",id:"authorizing-playcanvas-to-access-sketchfab",level:3},{value:"New License and Author Info for Assets",id:"new-license-and-author-info-for-assets",level:3},{value:"Go Forth and Create",id:"go-forth-and-create",level:3}];function l(e){const t={a:"a",em:"em",h3:"h3",img:"img",p:"p",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"Today, we're excited to announce the integration of Sketchfab into the PlayCanvas Editor!"}),"\n",(0,s.jsx)("div",{className:"iframe-container",children:(0,s.jsx)("iframe",{loading:"lazy",width:"560",height:"315",src:"https://www.youtube.com/embed/A0WOrjrFPXM",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsxs)(t.em,{children:[(0,s.jsx)(t.a,{href:"https://skfb.ly/6QVvM",children:'"Spartan Armour"'})," by McCarthy3D is licensed under ",(0,s.jsx)(t.a,{href:"https://creativecommons.org/licenses/by/4.0/",children:"CC BY 4.0"}),"."]})}),"\n",(0,s.jsx)(t.p,{children:"With today's launch you'll have instant access to Sketchfab's enormous library of high quality 3D content right inside the Editor."}),"\n",(0,s.jsx)(t.h3,{id:"what-is-sketchfab",children:"What Is Sketchfab?"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.a,{href:"https://sketchfab.com/",children:"Sketchfab"}),' is a platform that allows users to publish, share and discover 3D content on the web. You can think of it as a sort of "YouTube for 3D models". The platform hosts millions of 3D models in various formats, including glTF, OBJ, STL, and more.']}),"\n",(0,s.jsx)(t.p,{children:"Users can upload their 3D models to Sketchfab and embed them in other websites much like one would embed a YouTube video. This has made it popular for showcasing 3D models for a wide range of uses including game assets, 3D scans, architectural models, and educational content."}),"\n",(0,s.jsx)(t.h3,{id:"accessing-sketchfab-from-the-asset-store",children:"Accessing Sketchfab from the Asset Store"}),"\n",(0,s.jsxs)(t.p,{children:["Earlier this month, we ",(0,s.jsx)(t.a,{href:"https://blog.playcanvas.com/announcing-the-new-playcanvas-asset-store/",children:"announced"})," the brand new PlayCanvas Asset Store. The Asset Store is an in-Editor panel of useful assets that you can use in your projects. With a few clicks, you can browse, discover and import various types of content. So it is the obvious place to incorporate the vast Sketchfab content library."]}),"\n",(0,s.jsx)(t.p,{children:"To access the Sketchfab library, simply hit the Asset Store button on the Asset Panel header and select the SKETCHFAB filter on the left."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:a(77735).A+"",children:(0,s.jsx)(t.img,{alt:"Open Sketchfab",src:a(58973).A+"",width:"2744",height:"1512"})})}),"\n",(0,s.jsx)(t.h3,{id:"authorizing-playcanvas-to-access-sketchfab",children:"Authorizing PlayCanvas to Access Sketchfab"}),"\n",(0,s.jsx)(t.p,{children:"If you want to import models from Sketchfab into PlayCanvas, you first need to create a Sketchfab account. Then, the first time you try to import a Sketchfab model in the Asset Store, you will be asked to authorize PlayCanvas to access your Sketchfab account."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:a(93168).A+"",children:(0,s.jsx)(t.img,{alt:"Authorize Sketchfab",src:a(58062).A+"",width:"1960",height:"1080"})})}),"\n",(0,s.jsx)(t.p,{children:"It's so quick and easy!"}),"\n",(0,s.jsx)(t.h3,{id:"new-license-and-author-info-for-assets",children:"New License and Author Info for Assets"}),"\n",(0,s.jsx)(t.p,{children:"Sketchfab assets are all tagged with a license and an author. When you import Sketchfab content into your PlayCanvas projects, it's important that we preserve this information. Now, when you click on any imported asset, you'll see we've added links to license and author information in the Inspector panel."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:a(78772).A+"",children:(0,s.jsx)(t.img,{alt:"Sketchfab Licenses",src:a(3922).A+"",width:"1960",height:"1080"})})}),"\n",(0,s.jsx)(t.p,{children:"This ensures that the author's licensing wishes are respected and that they recieve credit for their work."}),"\n",(0,s.jsx)(t.h3,{id:"go-forth-and-create",children:"Go Forth and Create"}),"\n",(0,s.jsxs)(t.p,{children:["With today's release, it's never been easier to create interactive 3D experiences for the web. We hope you love the new Sketchfab integration. But, as always, we ",(0,s.jsx)(t.em,{children:"love"})," to hear your opinions so head over to the ",(0,s.jsx)(t.a,{href:"https://forum.playcanvas.com/t/playcanvas-integrates-sketchfab/31885",children:"forum"})," and join the conversation. Happy creating! \ud83d\udea7\ud83d\udc77"]})]})}function d(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},93168:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/files/asset-store-sketchfab-authorize-53243c4836ae1bb55bdb1d4b3617250e.gif"},78772:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/files/asset-store-sketchfab-license-31b8f7956468a51df37a46005655797d.gif"},77735:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/files/asset-store-sketchfab-open-fae17677f171ff590787e8e454f1c17e.gif"},58062:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/images/asset-store-sketchfab-authorize-53243c4836ae1bb55bdb1d4b3617250e.gif"},3922:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/images/asset-store-sketchfab-license-31b8f7956468a51df37a46005655797d.gif"},58973:(e,t,a)=>{a.d(t,{A:()=>s});const s=a.p+"assets/images/asset-store-sketchfab-open-fae17677f171ff590787e8e454f1c17e.gif"},28453:(e,t,a)=>{a.d(t,{R:()=>i,x:()=>r});var s=a(96540);const n={},o=s.createContext(n);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1d6a4299.4b12e6af.js b/assets/js/1d6a4299.4b12e6af.js deleted file mode 100644 index 31775cfcb..000000000 --- a/assets/js/1d6a4299.4b12e6af.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_playcanvas_blog=self.webpackChunk_playcanvas_blog||[]).push([[75307],{3749:e=>{e.exports=JSON.parse('{"archive":{"blogPosts":[{"id":"build-webgpu-apps-today-with-playcanvas","metadata":{"permalink":"/build-webgpu-apps-today-with-playcanvas","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2024-04-18-build-webgpu-apps-today-with-playcanvas.md","source":"@site/blog/2024-04-18-build-webgpu-apps-today-with-playcanvas.md","title":"Build WebGPU Apps Today with PlayCanvas","description":"It\'s here! \ud83e\udd73 Today, we\'re excited to announce that WebGPU support has officially arrived in the PlayCanvas Editor.","date":"2024-04-18T00:00:00.000Z","tags":[{"label":"webgpu","permalink":"/tags/webgpu"},{"label":"graphics","permalink":"/tags/graphics"},{"label":"editor","permalink":"/tags/editor"}],"readingTime":2.09,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"build-webgpu-apps-today-with-playcanvas","title":"Build WebGPU Apps Today with PlayCanvas","tags":["webgpu","graphics","editor"]},"unlisted":false,"nextItem":{"title":"Using Visual Studio Code with PlayCanvas","permalink":"/using-visual-studio-code-with-playcanvas"}},"content":"It\'s here! \ud83e\udd73 Today, we\'re excited to announce that WebGPU support has officially arrived in the PlayCanvas Editor.\\n\\n![Editor with WebGPU Scene](/img/editor-webgpu.png)\\n\\n## WebGPU on the Rise\\n\\nSince its inception back in 2010, PlayCanvas has been layered on top of WebGL. In 2017, we were proud to launch support for [WebGL 2.0](https://blog.playcanvas.com/mozilla-launches-webgl-2-with-playcanvas/) in partnership with our friends at Mozilla. April 2023 marked the beginning of a new era for web graphics when Google enabled WebGPU by default in Chrome 113. Since then, WebGPU adoption has exploded and today, [Web3D Survey](https://web3dsurvey.com/webgpu) reports that **62.19% of end users can now run WebGPU**. With [Firefox and Safari due to launch their WebGPU support](https://caniuse.com/webgpu) in the not-too-distant future, expect this number to rise dramatically in 2024.\\n\\n## Why WebGPU Matters\\n\\nIf you enable WebGPU for your PlayCanvas project, you may not notice much difference to begin with. In fact, we have put a great deal of effort into ensuring your WebGL projects look identical under WebGPU. But over time, there is are a great deal of opportunities to achieve performance improvements due to WebGPU\'s reduced driver overhead.\\n\\nAnother key feature unique to WebGPU is support for Compute Shaders which allow for general computation on the GPU. Support for Compute Shaders landed in [Engine v1.70.0](https://github.com/playcanvas/engine/releases/tag/v1.70.0). Here you can see Computer Shaders in action simulating 1 million particles on the GPU:\\n\\n
\\n \\n
\\n\\n[Click here](https://playcanvas.github.io/#/compute/particles) to run it for yourself in a WebGPU-enabled browser (i.e. Chrome or Edge).\\n\\nIn short, WebGPU represents the future for PlayCanvas and you can expect some incredible advances in performance and functionality over the coming months.\\n\\n## Getting Started with WebGPU\\n\\nWebGPU support in PlayCanvas is still considered \'Beta\'. There are still some unimplemented features (for example, the run-time lightmapper is still not supported). Therefore, you have to currently \'opt in\' to WebGPU support. To do this, open your Project\'s Settings in the Inspector and expand the `RENDERING` section. Then update `Graphics Devices` to include `WebGPU (beta)`.\\n\\n![Editor with WebGPU Scene](/img/editor-settings-webgpu.png)\\n\\nOnce we are satisfied WebGPU support has matured enough, it will become the default.\\n\\n## Your Feedback is Important\\n\\nSince WebGPU support is new, we rely on the community for feedback. What works and what doesn\'t? Please [submit an issue](https://github.com/playcanvas/editor/issues) if you discover any problems or kick off a new thread on the [forum](https://forum.playcanvas.com/) if you want to discuss WebGPU support in more detail. We want to hear what your opinions! \ud83d\udc42"},{"id":"using-visual-studio-code-with-playcanvas","metadata":{"permalink":"/using-visual-studio-code-with-playcanvas","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2024-04-15-using-visual-studio-code-with-playcanvas.md","source":"@site/blog/2024-04-15-using-visual-studio-code-with-playcanvas.md","title":"Using Visual Studio Code with PlayCanvas","description":"Visual Studio Code is massively popular. In the Stack Overflow 2023 Developer Survey, Visual Studio Code was ranked the most popular developer environment tool among 86,544 respondents, with 73.71% reporting that they use it.","date":"2024-04-15T00:00:00.000Z","tags":[{"label":"javascript","permalink":"/tags/javascript"},{"label":"open-source","permalink":"/tags/open-source"},{"label":"scripting","permalink":"/tags/scripting"},{"label":"workflow","permalink":"/tags/workflow"}],"readingTime":1.31,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"using-visual-studio-code-with-playcanvas","title":"Using Visual Studio Code with PlayCanvas","tags":["javascript","open-source","scripting","workflow"]},"unlisted":false,"prevItem":{"title":"Build WebGPU Apps Today with PlayCanvas","permalink":"/build-webgpu-apps-today-with-playcanvas"},"nextItem":{"title":"Massive Upgrade for the PlayCanvas Developer Site","permalink":"/massive-upgrade-for-the-playcanvas-developer-site"}},"content":"[Visual Studio Code](https://code.visualstudio.com/) is massively popular. In the Stack Overflow 2023 Developer Survey, Visual Studio Code was ranked the most popular developer environment tool among 86,544 respondents, with **73.71%** reporting that they use it.\\n\\nAny PlayCanvas developer building directly on top of the Engine will very likely opt to use VS Code. But if you use the PlayCanvas Editor, you will normally rely on the built-in, browser-based Code Editor. Today, we\'re excited to give you another option by launching an open-source **Visual Studio Code Extension for PlayCanvas**.\\n\\n![VS Code Extension](/img/vscode-extension.webp)\\n\\n## Benefits\\n\\nThe PlayCanvas Code Editor is actually built on the [Monaco Editor](https://github.com/microsoft/monaco-editor), the beating heart of VS Code. So why use VS Code instead of the PlayCanvas Code Editor?\\n\\n* [GitHub Copilot](https://github.com/features/copilot) - leverage AI to help you write PlayCanvas code faster.\\n* Powerful IntelliSense tools (code completion, parameter info, quick info, and member lists).\\n* Leverage a huge library of other extensions to accelerate your development.\\n\\n## We \u2764\ufe0f Open Source\\n\\nAs you might expect, we have open sourced the VS Code extension under a liberal MIT license!\\n\\n* [VS Code Extension on GitHub](https://github.com/playcanvas/vscode-extension)\\n\\nSo if you find a bug or have a suggestion, please do [log an issue](https://github.com/playcanvas/vscode-extension/issues). And for the more adventurous, consider making a code contribution!\\n\\nWe want you to feel empowered to make these tools your own. Let\'s make them awesome together! \ud83d\ude4c\\n\\n## Get Started Now\\n\\nIf this all sounds great to you, why not give it a try? Head over to the User Manual for instructions on how to get started:\\n\\n[READ THE DOCS](https://developer.playcanvas.com/user-manual/scripting/vscode-extension/)"},{"id":"massive-upgrade-for-the-playcanvas-developer-site","metadata":{"permalink":"/massive-upgrade-for-the-playcanvas-developer-site","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2024-02-08-massive-upgrade-for-playcanvas-developer-site.md","source":"@site/blog/2024-02-08-massive-upgrade-for-playcanvas-developer-site.md","title":"Massive Upgrade for the PlayCanvas Developer Site","description":"Today, we are excited to announce the brand new PlayCanvas Developer Site and API Reference Manual!","date":"2024-02-08T00:00:00.000Z","tags":[{"label":"documentation","permalink":"/tags/documentation"},{"label":"tutorial","permalink":"/tags/tutorial"},{"label":"open-source","permalink":"/tags/open-source"}],"readingTime":3.42,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"massive-upgrade-for-the-playcanvas-developer-site","title":"Massive Upgrade for the PlayCanvas Developer Site","tags":["documentation","tutorial","open-source"]},"unlisted":false,"prevItem":{"title":"Using Visual Studio Code with PlayCanvas","permalink":"/using-visual-studio-code-with-playcanvas"},"nextItem":{"title":"Compressing Gaussian Splats","permalink":"/compressing-gaussian-splats"}},"content":"Today, we are excited to announce the brand new [PlayCanvas Developer Site](https://developer.playcanvas.com/) and [API Reference Manual](https://api.playcanvas.com/)!\\n\\n## Developer Site\\n\\nLet\'s start by taking a look at the new Developer Site, home of the PlayCanvas User Manual and Tutorials.\\n\\n![Developer Site Landing Page](/img/developer-site-landing-page.png)\\n\\n### Migrating from Metalsmith to Docusaurus\\n\\nSince PlayCanvas was born in 2011, the basic look of the Developer Site has changed little. The content was written in Markdown and converted to a static HTML site using a tool called [Metalsmith](https://metalsmith.io/). Customizing the site to our needs meant we had to write many Metalsmith plugins (for localization, navigation and more) and a lot of HTML and CSS to style the pages as we wanted.\\n\\n13 years later, the world of static site generators has moved on with lots of exciting new options! We evaluated [Docusaurus](https://docusaurus.io/) and decided to migrate over to it.\\n\\n### What\'s New\\n\\nSo what made Docusaurus so compelling? First up, the migration was going to be straightforward because, like Metalsmith, Docusaurus consumes Markdown and outputs a static site. And much of the customization we did for Metalsmith is supplied \'out-of-the-box\' with Docusaurus. So that\'s all great. But the new site comes with lots of cool new features we known you\'re going to love:\\n\\n#### \ud83d\udd0d Powerful Search\\n\\nThe site now integrates [Algolia](https://www.algolia.com/) for advanced searching of the documentation.\\n\\n![Developer Site Search](/img/developer-site-search.png)\\n\\nThis is a quantum leap over what came before. Try it (by pressing `CTRL + K`) - you\'ll be amazed. \ud83e\udd2f\\n\\n#### \ud83c\udf12 Light and Dark Modes\\n\\nEasily switch between light and dark themes (by clicking on the sun/moon icon top-right).\\n\\n![Developer Site Light and Dark Modes](/img/developer-site-light-dark.png)\\n\\n#### \ud83c\udf0f Language Selection\\n\\nSwitch language from the nav-bar. At the moment, we\'re shipping with Japanese translations.\\n\\n![Developer Site Localization](/img/developer-site-localization.png)\\n\\n#### \ud83d\udc69\u200d\ud83d\udcbb Edit on GitHub\\n\\nAs you might expect, [the Developer Site is Open Source (MIT)](https://github.com/playcanvas/developer.playcanvas.com). Every page now has a handy link to the content on GitHub. Spot a mistake? Now can you fix it yourself and improve the docs for the community!\\n\\n#### \ud83e\udded Easier Navigation\\n\\nAt the top of each page, you\'ll find \'Sidebar Breadcrumbs\' which allow you to click back up the page hierarchy.\\n\\n![Developer Site Breadcrumbs](/img/developer-site-breadcrumbs.png)\\n\\nTo the right of each page, you\'ll find a table of contents which can be a big help, especially for long pages.\\n\\n![Developer Site Table of Contents](/img/developer-site-toc.png)\\n\\nAnd at the bottom of each page, you\'ll find \'Previous\' and \'Next\' links that allow you to read through the User Manual sequentially.\\n\\n![Developer Site Previous and Next Links](/img/developer-site-previous-next.png)\\n\\n## API Reference\\n\\nWe are not just launching a new Developer Site today. We are also launching our brand new, upgraded [API Reference Manual](https://api.playcanvas.com/)!\\n\\n![API Reference Site](/img/api-reference-site.png)\\n\\n### Migrating from JSDoc to TypeDoc\\n\\nSince the start, we have relied on [JSDoc](https://jsdoc.app/) to generate our API reference manual. But since then, we have seen the introduction of [TypeDoc](https://typedoc.org/) which offers some major advantages over JSDoc.\\n\\n#### \ud83c\udfa8 High Quality Default Theme\\n\\nWhile it\'s not perfect, the default TypeDoc theme is gorgeous and a big improvement over our custom JSDoc theme. It provides:\\n\\n* Light and dark modes (like the main developer site)\\n* Links to the source code on GitHub\\n* Grouping of API into related categories\\n* Powerful search (press `/` to activate it)\\n* ...and much more!\\n\\nIt\'s a great foundation for us to begin with and we can customize the default theme to our requirements as needed.\\n\\n#### \ud83d\udd17 Easy Combining of APIs\\n\\nDid you know that PlayCanvas develops frameworks and libraries other than the PlayCanvas Engine? There\'s [PCUI](https://github.com/playcanvas/pcui), a front-end framework for web-based tools. There\'s the [PlayCanvas Editor API](https://github.com/playcanvas/editor-api) for automating the interface. And more! The new API reference collects all of the PlayCanvas APIs into a single manual.\\n\\n![API Reference Site APIs](/img/api-reference-site-apis.png)\\n\\n## Open Source FTW\\n\\nEverything we are announcing today is 100% open source.\\n\\n* [Developer Site on GitHub](https://github.com/playcanvas/developer.playcanvas.com)\\n* [API Reference Site on GitHub](https://github.com/playcanvas/api-reference)\\n\\nWe want to empower to community to get involved and make PlayCanvas better for everybody. It\'s never been easier to submit your first pull request on GitHub. So why wait - get started today! \u2764\ufe0f"},{"id":"compressing-gaussian-splats","metadata":{"permalink":"/compressing-gaussian-splats","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-12-05-compressing-gaussian-splats.md","source":"@site/blog/2023-12-05-compressing-gaussian-splats.md","title":"Compressing Gaussian Splats","description":"Introduction","date":"2023-12-05T00:00:00.000Z","tags":[{"label":"gaussian-splats","permalink":"/tags/gaussian-splats"},{"label":"compression","permalink":"/tags/compression"},{"label":"supersplat","permalink":"/tags/supersplat"}],"readingTime":3.61,"hasTruncateMarker":false,"authors":[{"name":"Donovan Hutchence","title":"Staff Software Engineer","url":"https://twitter.com/slimbuck7","imageURL":"https://pbs.twimg.com/profile_images/1727369755231727616/ukKVbC9b_400x400.png","key":"donovan"}],"frontMatter":{"authors":"donovan","slug":"compressing-gaussian-splats","title":"Compressing Gaussian Splats","tags":["gaussian-splats","compression","supersplat"]},"unlisted":false,"prevItem":{"title":"Massive Upgrade for the PlayCanvas Developer Site","permalink":"/massive-upgrade-for-the-playcanvas-developer-site"},"nextItem":{"title":"Boost Your Efficiency: Editor gets Support for AVIF and WebP","permalink":"/avif-webp-land-in-editor"}},"content":"### Introduction\\n\\n[**3D Gaussian Splatting**](https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/) is a new method for digitizing and rendering real world objects. With gaussian splatting, you can digitize a scene from a few photos using services like [Luma Labs](https://lumalabs.ai/) or [Polycam](https://poly.cam/). These services take the set of photos and generate a 3d Gaussian Splat scene in [PLY format]().\\n\\nFor example, this is a Gaussian Splat scene rendered in PlayCanvas.\\n
\\n \\n\\nThey look strikingly similar, but the file size tells a different story. The AVIF image on the left has a file size of just 18Kb, and the JPG counterpart over 4 times larger at 74Kb! This level of compression is not just impressive on its own. When you\'re working on a project with multiple textures, switching to AVIF and WebP formats could considerably reduce your overall load time.\\n\\nWhat does this mean for you? Well, that\'s simple: it\'s all about efficiency and speed without sacrificing quality. Textures are one of the biggest assets in a 3D project and AVIF and WebP significantly reduce image sizes compared to traditional JPEGs and PNGs and that means faster load times and happier users. \ud83d\ude4c\\n\\n#### AVIF all the things?\\n\\nOk, so browser support for AVIF is good, but not great according to [caniuse](https://caniuse.com/?search=avif), so always [check support](https://dev.to/nucliweb/detect-avif-image-support-to-use-in-your-css-4pen) and use the right format for your users. Different formats are better suited for different content. It\'s not a one-size-fits-all solution, so we encourage you to explore various options and choose the one best for you.\\n\\n#### Getting Started\\n\\nEasy! Just start uploading your AVIF and WebP files into the Asset Panel, and for those of you wanting to convert your existing assets, you can now right-click on your asset in the Asset Panel and quickly convert your asset into a PNG, JPG, WebP or an AVIF.\\n\\n![Quick Convert](/img/convert-animation.gif)\\n\\nSo there you have it! This is not just a feature release; it\'s our way of saying we\'re listening and we care. We\'re excited to hear your thoughts on these new features. Give them a try and share your experiences with us.\\n\\nTill then, keep creating, keep innovating!"},{"id":"gltf-viewer-adds-webgpu-support","metadata":{"permalink":"/gltf-viewer-adds-webgpu-support","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-10-10-gltf-viewer-adds-webgpu-support.md","source":"@site/blog/2023-10-10-gltf-viewer-adds-webgpu-support.md","title":"glTF Viewer 4.0 Adds WebGPU Support","description":"We\'re thrilled to announce the launch of the open source glTF Viewer 4.0, an update that supercharges your 3D model viewing experience with powerful features and support for the latest web technologies!","date":"2023-10-10T00:00:00.000Z","tags":[{"label":"ar","permalink":"/tags/ar"},{"label":"gltf","permalink":"/tags/gltf"},{"label":"viewer","permalink":"/tags/viewer"},{"label":"webgpu","permalink":"/tags/webgpu"},{"label":"webxr","permalink":"/tags/webxr"}],"readingTime":3.64,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"gltf-viewer-adds-webgpu-support","title":"glTF Viewer 4.0 Adds WebGPU Support","tags":["ar","gltf","viewer","webgpu","webxr"]},"unlisted":false,"prevItem":{"title":"Boost Your Efficiency: Editor gets Support for AVIF and WebP","permalink":"/avif-webp-land-in-editor"},"nextItem":{"title":"PlayCanvas Adds Sketchfab Integration","permalink":"/playcanvas-adds-sketchfab-itegration"}},"content":"We\'re thrilled to announce the launch of the [open source](https://github.com/playcanvas/model-viewer) **glTF Viewer 4.0**, an update that supercharges your 3D model viewing experience with powerful features and support for the latest web technologies!\\n\\n[![glTF Viewer 4.0](/img/gltf-viewer-4.png)](/img/gltf-viewer-4.png)\\n\\n_[\\"Cyber Samurai\\"](https://skfb.ly/ooZKG) by KhoaMinh is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)._\\n\\n[**TRY IT NOW**](https://playcanvas.com/viewer?load=https://s3.eu-west-1.amazonaws.com/static.playcanvas.com/models/IridescentDishWithOlives.glb&default&skybox.value=Abandoned%20Tank%20Farm&skybox.background=Projective%20Dome&debug.grid=false&shadowCatcher.enabled=true&default)\\n\\nThis new release is chock-full with enhancements aimed at providing more realistic, insightful, and versatile viewing options for your glTF files. Let\'s dive into the headline features of glTF Viewer 4.0.\\n\\n#### New WebGPU Renderer\\n\\n![WebGPU Logo](/img/webgpu-logo.svg)\\n\\nTopping the list of today\'s updates is support for WebGPU! WebGPU heralds a new era in graphics and compute capabilities, offering enhanced performance and efficiency. Users can now select WebGPU as their default renderer, and don\'t worry if your platform doesn\'t support it yet - the viewer gracefully falls back to WebGL 2, and subsequently WebGL 1, depending on API availability. Note that WebGPU support is considered beta for the moment and you\'ll need to proactively enable it and refresh the viewer to check it out:\\n\\n[![Enable WebGPU for glTF Viewer](/img/gltf-viewer-webgpu-toggle.gif)](/img/gltf-viewer-webgpu-toggle.gif)\\n\\nAlso make sure you\'re running the viewer in a browser that supports WebGPU. At time of writing, this means Google Chrome!\\n\\n#### Enhanced WebXR AR Mode\\n\\n
\\n \\n
\\n\\nTake your 3D models into the real world with our revamped WebXR Augmented Reality (AR) mode! Available currently on Android devices, this enhanced AR mode lets you view any model in your actual environment, complete with intuitive new controls that allow you to accurately position and rotate objects in the real world. Let\'s hope Apple decides to roll out WebXR support on iOS soon! \ud83d\ude4f\\n\\n#### Frame Selected Node\\n\\n
\\n \\n
\\n\\nNavigating large scenes can be a pain - Viewer 4.0 addresses this by allowing you to select a node in the scene via the hierarchy panel on the left. You can then press \'F\' on the keyboard to frame that node and recenter the orbit camera on that node\'s position.\\n\\n#### Better Immersion with Projective Sky Dome\\n\\n
\\n \\n
\\n\\n_[\\"130\\"](https://skfb.ly/6R9Ow) by mononofu is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)._\\n\\nExperience realistic photographic skies with our new projective sky dome! While previous versions allowed for skyboxex with an infinite projection, 4.0 introduces a dome-shaped skybox projection that incorporates a flat ground plane. This warps the skybox texture to have a more believable appearance, delivering a more authentic and immersive perspective, melding your 3D models with strikingly realistic backdrops.\\n\\n#### Debug and Inspect with Render Mode\\n\\n[![glTF Viewer Render Mode](/img/gltf-viewer-render-mode.gif)](/img/gltf-viewer-render-mode.gif)\\n\\nEnsuring that developers can seamlessly troubleshoot and inspect glTF files, the new render mode allows you to select and display individual inputs/outputs of the render pipeline, including albedo, emissive, normals, gloss, AO, and more. This new level of insight is invaluable for debugging, making it even easier to work with your glTF data.\\n\\n#### Enhanced Realism with VSM Shadows\\n\\nThe addition of Variance Shadow Mapping (VSM) casts your 3D scenes in a new light, literally! Shadows aren\'t merely aesthetic; they provide context and depth, especially in AR mode, assisting to ground your object naturally within its real-world environment. Explore scenes with a newfound depth and realism that draws viewers into the experience, both in standard and AR viewing modes. Find the new shadow controls in the Light Settings panel:\\n\\n[![glTF Viewer Light Settings](/img/gltf-viewer-light-settings.png)](/img/gltf-viewer-light-settings.png)\\n\\n### Join Our Open Source Community\\n\\nWe\'re not just excited to share these innovations with you; we\'re eager to hear your thoughts and welcome your contributions! If there\'s a feature you\'re longing for, please don\'t hesitate to [submit your requests](https://github.com/playcanvas/model-viewer/issues).\\n\\nBetter yet, become an active contributor to our codebase! Our open-source community thrives on collaboration and fresh perspectives. So, dive right in, [explore the code](https://github.com/playcanvas/model-viewer), and let\'s shape the future of 3D model viewing together! Your expertise and insights could help shape the next release.\\n\\n[**GO TO GITHUB NOW**](https://github.com/playcanvas/model-viewer)\\n\\n### Conclusion\\n\\nWith glTF Viewer 4.0, we\'re redefining the standards of 3D model viewing. From WebGPU-powered rendering to WebXR-powered AR, this update is designed to inspire, assist, and elevate your work with glTF data.\\n\\nSo stay creative, friends, and we\'ll see you on the [forums](https://forum.playcanvas.com/)! \ud83d\udc4b"},{"id":"playcanvas-adds-sketchfab-itegration","metadata":{"permalink":"/playcanvas-adds-sketchfab-itegration","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md","source":"@site/blog/2023-06-26-playcanvas-adds-sketchfab-itegration.md","title":"PlayCanvas Adds Sketchfab Integration","description":"Today, we\'re excited to announce the integration of Sketchfab into the PlayCanvas Editor!","date":"2023-06-26T00:00:00.000Z","tags":[{"label":"asset-store","permalink":"/tags/asset-store"},{"label":"editor","permalink":"/tags/editor"},{"label":"sketchfab","permalink":"/tags/sketchfab"},{"label":"workflow","permalink":"/tags/workflow"}],"readingTime":2.15,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"playcanvas-adds-sketchfab-itegration","title":"PlayCanvas Adds Sketchfab Integration","tags":["asset-store","editor","sketchfab","workflow"]},"unlisted":false,"prevItem":{"title":"glTF Viewer 4.0 Adds WebGPU Support","permalink":"/gltf-viewer-adds-webgpu-support"},"nextItem":{"title":"Moving from WordPress to Jekyll - A Case Study","permalink":"/moving-from-wordpress-to-jekyll-a-case-study"}},"content":"Today, we\'re excited to announce the integration of Sketchfab into the PlayCanvas Editor!\\n\\n
\\n \\n
\\n\\n_[\\"Spartan Armour\\"](https://skfb.ly/6QVvM) by McCarthy3D is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)._\\n\\nWith today\'s launch you\'ll have instant access to Sketchfab\'s enormous library of high quality 3D content right inside the Editor.\\n\\n### What Is Sketchfab?\\n\\n[Sketchfab](https://sketchfab.com/) is a platform that allows users to publish, share and discover 3D content on the web. You can think of it as a sort of \\"YouTube for 3D models\\". The platform hosts millions of 3D models in various formats, including glTF, OBJ, STL, and more.\\n\\nUsers can upload their 3D models to Sketchfab and embed them in other websites much like one would embed a YouTube video. This has made it popular for showcasing 3D models for a wide range of uses including game assets, 3D scans, architectural models, and educational content.\\n\\n### Accessing Sketchfab from the Asset Store\\n\\nEarlier this month, we [announced](https://blog.playcanvas.com/announcing-the-new-playcanvas-asset-store/) the brand new PlayCanvas Asset Store. The Asset Store is an in-Editor panel of useful assets that you can use in your projects. With a few clicks, you can browse, discover and import various types of content. So it is the obvious place to incorporate the vast Sketchfab content library.\\n\\nTo access the Sketchfab library, simply hit the Asset Store button on the Asset Panel header and select the SKETCHFAB filter on the left.\\n\\n[![Open Sketchfab](/img/asset-store-sketchfab-open.gif)](/img/asset-store-sketchfab-open.gif)\\n\\n### Authorizing PlayCanvas to Access Sketchfab\\n\\nIf you want to import models from Sketchfab into PlayCanvas, you first need to create a Sketchfab account. Then, the first time you try to import a Sketchfab model in the Asset Store, you will be asked to authorize PlayCanvas to access your Sketchfab account.\\n\\n[![Authorize Sketchfab](/img/asset-store-sketchfab-authorize.gif)](/img/asset-store-sketchfab-authorize.gif)\\n\\nIt\'s so quick and easy!\\n\\n### New License and Author Info for Assets\\n\\nSketchfab assets are all tagged with a license and an author. When you import Sketchfab content into your PlayCanvas projects, it\'s important that we preserve this information. Now, when you click on any imported asset, you\'ll see we\'ve added links to license and author information in the Inspector panel.\\n\\n[![Sketchfab Licenses](/img/asset-store-sketchfab-license.gif)](/img/asset-store-sketchfab-license.gif)\\n\\nThis ensures that the author\'s licensing wishes are respected and that they recieve credit for their work.\\n\\n### Go Forth and Create\\n\\nWith today\'s release, it\'s never been easier to create interactive 3D experiences for the web. We hope you love the new Sketchfab integration. But, as always, we _love_ to hear your opinions so head over to the [forum](https://forum.playcanvas.com/t/playcanvas-integrates-sketchfab/31885) and join the conversation. Happy creating! \ud83d\udea7\ud83d\udc77"},{"id":"moving-from-wordpress-to-jekyll-a-case-study","metadata":{"permalink":"/moving-from-wordpress-to-jekyll-a-case-study","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-06-07-moving-from-wordpress-to-jekyll-a-case-study.md","source":"@site/blog/2023-06-07-moving-from-wordpress-to-jekyll-a-case-study.md","title":"Moving from WordPress to Jekyll - A Case Study","description":"Welcome to the new PlayCanvas blog! \ud83d\ude0e","date":"2023-06-07T00:00:00.000Z","tags":[{"label":"jekyll","permalink":"/tags/jekyll"},{"label":"wordpress","permalink":"/tags/wordpress"},{"label":"github","permalink":"/tags/github"}],"readingTime":6.73,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"moving-from-wordpress-to-jekyll-a-case-study","title":"Moving from WordPress to Jekyll - A Case Study","tags":["jekyll","wordpress","github"]},"unlisted":false,"prevItem":{"title":"PlayCanvas Adds Sketchfab Integration","permalink":"/playcanvas-adds-sketchfab-itegration"},"nextItem":{"title":"Announcing the New PlayCanvas Asset Store","permalink":"/announcing-the-new-playcanvas-asset-store"}},"content":"Welcome to the new PlayCanvas blog! \ud83d\ude0e\\n\\n![PlayCanvas To Jekyll](/img/playcanvas-to-jekyll.png)\\n\\nWe have made the decision to move from WordPress to [Jekyll](https://jekyllrb.com/) and although it\'s early days, so far, we are very pleased with the results. Therefore, we thought it might be useful to explain the reasons why we did this and describe the process we followed.\\n\\n### Some History\\n\\nWe originally started our blog back in February 2012 with a very [low-key post](https://blog.playcanvas.com/hello-world/). We installed our own instance of WordPress and that functioned fine for a few years. However, in 2015, we decided that we didn\'t want to deal with managing a WordPress instance ourselves and so we signed up for [WPEngine](https://wpengine.com/), a WordPress hosting service. And there we stayed until today.\\n\\n### A Better Way?\\n\\nOver the years, some frustrations over WordPress did start to materialize. Customizing styling was tricky, bulk editing posts was not an option, managing media through the media library was quite inconvenient, and so on. On top of that, our blog was continuing to grow in popularity and WPEngine costs were rising. A team member suggested Jekyll as an alternative so we ran some tests to see what would be involved in a migration.\\n\\n### Migrating from WordPress to Jekyll\\n\\nFirst up, I should say that you should make use of ChatGPT when you attempt something like this. It made it a smooth and pleasant experience for me. But so you can see how straightforward it was, here are the key steps:\\n\\n1. **Export Your WordPress Content.** On your WordPress Dashboard, navigate to Tools > Export and select \'All Content\'. Click \'Download Export File\'. You should receive an XML file that contains all of your site\u2019s content.\\n2. **Convert WordPress Export to Jekyll Format.** To convert your WordPress export file to a Jekyll-friendly format, you can use a tool called `exitwp`. Here are the steps:\\n\\n - Clone or download `exitwp` from its [GitHub repository](https://github.com/thomasf/exitwp).\\n - Put your WordPress XML file in the `wordpress-xml` directory in the `exitwp` directory.\\n - Run `exitwp` (requires Python and some libraries, see the repo\'s `README` for details).\\n - This will generate a `_posts` directory containing all your blog posts converted into markdown format that Jekyll understands.\\n\\n3. **Setting Up Jekyll.**\\n\\n - Install Ruby and Jekyll. For installation guide refer to [Jekyll\'s official site](https://jekyllrb.com/docs/installation/).\\n - Create a new Jekyll site by typing `jekyll new my-awesome-site` in the command line.\\n - Replace the `_posts` directory in your new Jekyll site with the `_posts` directory that `exitwp` generated.\\n - You can run your site locally to see how it looks by using the command `bundle exec jekyll serve`.\\n - Then, open your browser to http://localhost:4000.\\n\\nOnce I had our blog post content successfully exported to a basic Jekyll site, I checked everything in to a new [GitHub repository](https://github.com/playcanvas/blog). From this point, I wanted any change I made to the content to be tracked via Git version control - I mean, why wouldn\'t you?\\n\\nThe initial migration to Markdown worked OK but it wasn\'t perfect. There was a lot of superfluous whitespace in the generated Markdown and syntax was broken in places. So I took the opportunity to do a wholesale spring clean of the Markdown content.\\n\\n#### Prettier\\n\\n[Prettier](https://prettier.io/) is a great code formatter but you may not know that it also has built-in support for Markdown formatting. I installed Prettier via NPM and ran it over all Markdown files:\\n\\n```shell\\nprettier --write _posts\\n```\\n\\nAll formatting was now beautifully consistent.\\n\\n#### Linkinator\\n\\n[Linkinator](https://github.com/JustinBeckwith/linkinator) is a tool for reporting broken hyperlinks in both Markdown and HTML. I scanned the locally generated Jekyll site with it using the following command:\\n\\n```shell\\nlinkinator . --server-root _site --recurse --verbosity error\\n```\\n\\nI fixed well over 100 dead links. The older the post, the more dead links there tended to be (as you might expect). While I was always able to use Linkinator on the published WordPress site, it was never convenient to skip from post to post and edit hyperlinks in the WordPress UI (we have over 220 posts). So I never made the time for it. Now I was able to quickly search and replace links in Visual Studio Code and it was a breeze.\\n\\nAside from giving your readers a better experience, here\'s what ChatGPT has to say about dead links:\\n\\n> While Google\'s algorithms are complex and multifaceted, it is generally understood that having too many broken or dead links on your site can negatively affect your website\'s SEO ranking, albeit indirectly.\\n\\nSo this step was definitely worth doing!\\n\\n#### Media Library\\n\\nEvery WordPress blog has a Media Library that contains all of the images and videos referenced by your posts. The PlayCanvas Media Library had over 1GB of content. However, I noticed that a large amount of content was not actually referenced by any post. I wanted to ensure that I exported only the _used_ media (since I didn\'t want to bloat the GitHub repository).\\n\\n- **Step 1:** Install WordPress plugin [Media Cleaner](https://wordpress.org/plugins/media-cleaner/) and use it to delete unused media files.\\n- **Step 2:** Install WordPress plugin [Export Media Library](https://wordpress.org/plugins/export-media-library/) to download all remaining media files in a ZIP.\\n\\nThis process cut the Media Library from 1GB to about 550MB. I simply extracted the ZIP contents to `assets/media` (relative to the root folder of my Jekyll site) and then did a search and replace of all media embed links to use the new file location. Easy!\\n\\n### Hosting on GitHub Pages\\n\\nI now had a fully exported and functional Jekyll blog. But where to host it? One option was to throw the static site onto a file server and put it behind a CDN. But wait, the file-set of the Jekyll blog now sits in GitHub, so why not use [GitHub Pages](https://pages.github.com/) to host the site? There are some great benefits:\\n\\n- Deployment is a breeze to set up.\\n- It\'s a managed platform so you just don\'t need to worry about maintenance and security as you would with your own infra.\\n- And, oh yeah, **it\'s free!**\\n\\n### The Pros and Cons\\n\\nSo now that we\'re migrated over, let\'s quickly summarize the key benefits:\\n\\n- **Free:** Costs for our blog are now a pleasing $0.\\n- **Secure:** We have eliminated a potential attack vector. No more password reset confirmation emails!\\n- **Powerful Tooling:** There\'s a vast array of free and open source tools to lint and format Markdown.\\n- **Easy Editing:** Choose any editor you like such as the awesome Visual Studio Code.\\n- **Versioned:** All content is now under version control providing revision history, diffing and so on.\\n- **Collaborative:** We can take contributions to the blog via GitHub\'s pull request mechanism.\\n- **Customizable:** We have fine-grain control over the HTML and styling of posts using Jekyll themes.\\n- **Platform Agnostic:** Markdown makes it trivial to migrate to any other platform in the future.\\n\\nOK, but what about the cons? \ud83e\udd14 I have to tell you - I genuinely can\'t think of any! Sure, we don\'t have comments enabled now but as I understand it, Disqus has a [Jekyll integration](https://help.disqus.com/en/articles/1935528-jekyll-installation-instructions) that we can turn on at some point. Seriously, feel free to ping me on [Twitter](https://twitter.com/willeastcott/) if you think I\'m missing something here. But I wish we had taken this step years ago.\\n\\n### Open Source and Open to Contributions\\n\\nAs mentioned, the blog is now on [GitHub](https://github.com/playcanvas/blog). Take a moment to go check out the repository and hit that Star button if you like what we\'ve done here. \u2b50 We\'ve taken the step to open source the blog\'s content under an [Attribution-NonCommercial 4.0 International](https://github.com/playcanvas/blog/blob/main/LICENSE.md) license. This is part of our continuing drive to open source most of what we do.\\n\\nUltimately, we want **you** to get involved and help us make the blog better and better over time. Consider submitting issues and pull requests yourself.\\n\\n- Submit spelling and grammar fixes.\\n- Submit design tweaks and improvements.\\n- Submit your own posts showcasing your PlayCanvas projects.\\n\\nIt\'s your blog! \ud83d\ude0a\\n\\nThat\'s all from me. Looking forward to many-a-future blogs posts on this new platform. \ud83d\udc4b"},{"id":"announcing-the-new-playcanvas-asset-store","metadata":{"permalink":"/announcing-the-new-playcanvas-asset-store","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-04-26-announcing-the-new-playcanvas-asset-store.md","source":"@site/blog/2023-04-26-announcing-the-new-playcanvas-asset-store.md","title":"Announcing the New PlayCanvas Asset Store","description":"The PlayCanvas Asset Store is the first place that users tend to go to find content for their projects. This is especially true for new users who want to get started as quickly as possible. Up until now, the Store has not been particularly easy to use and the content has not changed in quite a long time. In short, a complete overhaul and refresh has been long overdue. So today, we are incredibly excited to announce a major upgrade for the PlayCanvas Asset Store!","date":"2023-04-26T00:00:00.000Z","tags":[{"label":"asset-store","permalink":"/tags/asset-store"},{"label":"editor","permalink":"/tags/editor"},{"label":"news","permalink":"/tags/news"},{"label":"workflow","permalink":"/tags/workflow"}],"readingTime":3.425,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"announcing-the-new-playcanvas-asset-store","title":"Announcing the New PlayCanvas Asset Store","tags":["asset-store","editor","news","workflow"]},"unlisted":false,"prevItem":{"title":"Moving from WordPress to Jekyll - A Case Study","permalink":"/moving-from-wordpress-to-jekyll-a-case-study"},"nextItem":{"title":"Initial WebGPU support lands in PlayCanvas Engine 1.62!","permalink":"/initial-webgpu-support-lands-in-playcanvas-engine-1-62"}},"content":"The PlayCanvas Asset Store is the first place that users tend to go to find content for their projects. This is especially true for new users who want to get started as quickly as possible. Up until now, the Store has not been particularly easy to use and the content has not changed in quite a long time. In short, a complete overhaul and refresh has been long overdue. So today, we are incredibly excited to announce a major upgrade for the PlayCanvas Asset Store!\\n\\nFirst up, check out a little example of building a city scene using content taken from the Asset Store. A skybox, a pack of 3D city block meshes and a camera control script are imported and the city is built via drag and drop. And _not one single line of code is needed_!\\n\\n
\\n \\n
\\n\\nNow, let\'s examine some of the key highlights that make the new Asset Store so special.\\n\\n### Built Right In To The Editor\\n\\nIt should be possible to grab assets quickly, right from within the Editor itself. Why should you have to open a new tab and go hunting around the web? So to keep things as convenient as possible, the ASSET STORE button (in the Editor\'s Assets Panel) now opens a nicely designed, responsive Asset Store panel.\\n\\n[![Asset Store Panel](/img/asset-store-open.gif)](/img/asset-store-open.gif)\\n\\nOne really cool benefit of selecting assets from within the Editor is that the currently selected Asset folder is known. This means you have compete control over where your imported assets will be saved.\\n\\n### Preview Store Assets Before Import\\n\\nSometimes, an asset thumbnail just isn\'t sufficient to tell if a particular asset is what you want.\\n\\n[![Asset Store Viewer](/img/asset-store-viewer.gif)](/img/asset-store-viewer.gif)\\n\\nOur new Store allows you to select a Store Item and preview it in an appropriate viewer (glTF Viewer for 3D models, Texture Viewer for textures and cubemaps).\\n\\n### Find What You Want Quickly\\n\\nAs the number of store items continues to grow, it\'s going to be incredibly important for you to be able to narrow down your assets searches. As a result, the new Store comes with powerful searching, sorting and filtering capabilities.\\n\\n[![Asset Store Search](/img/asset-store-search.gif)](/img/asset-store-search.gif)\\n\\nYou can filter by asset type, search asset names and descriptions and then order search results on a host of criteria.\\n\\n### Fresh New Content\\n\\nRecently, the Asset Store content was, let\'s just say, beginning to show its age. We are now in a world of HDR skyboxes, PBR materials and high polygon meshes. So it made sense to erase old store items and refresh the Store with better, more modern content. We have selected a broad variety of Creative Commons assets from fantastic content sources such as [kenney.nl](https://kenney.nl/), [HDRi Haven](https://hdri-haven.com/), [Sketchfab](https://sketchfab.com/) and Khronos\' [glTF Sample Models](https://github.com/KhronosGroup/glTF-Sample-Models).\\n\\n[![Asset Store Content](/img/asset-store-content.gif)](/img/asset-store-content.gif)\\n\\nIf you would have any suggestions for content you would like to be added to the Store, please do let us know!\\n\\n### The Future\\n\\nThere\'s still so much we want to do with the new Asset Store! But here are some things we have in mind:\\n\\n1. **More Content.** The important thing to say about today\'s update is that it delivers the core infrastructure on which we can iterate. It is now exceptionally easy for us to populate the store with more content. So, in the near term, you can expect to see the range of content expand quite rapidly.\\n\\n2. **Third Party Stores.** Now that we have a solid foundation in place for the Store, we have the ability to host third party stores within the same UI and maximize your choice.\\n\\n3. **More Asset Types.** Today\'s launch offers models, fonts, textures, skyboxes and scripts. Next, we want to add audio assets and template assets (AKA prefabs). Template assets in particular are very exciting because you would be able to import fully interactive, visual entities into your projects (such as a drivable vehicle or a controllable character).\\n\\nWhat would _you_ like to see us add to the Asset Store next? Let us know on the [forum](https://forum.playcanvas.com/).\\n\\nHappy creating, friends!"},{"id":"initial-webgpu-support-lands-in-playcanvas-engine-1-62","metadata":{"permalink":"/initial-webgpu-support-lands-in-playcanvas-engine-1-62","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-03-31-initial-webgpu-support-lands-in-playcanvas-engine-1-62.md","source":"@site/blog/2023-03-31-initial-webgpu-support-lands-in-playcanvas-engine-1-62.md","title":"Initial WebGPU support lands in PlayCanvas Engine 1.62!","description":"WebGPU is a cutting-edge technology that promises to revolutionize the way 3D graphics are handled on the web. As the successor to WebGL, WebGPU provides faster and more efficient rendering capabilities for complex 3D graphics and simulations.","date":"2023-03-31T00:00:00.000Z","tags":[{"label":"webgpu","permalink":"/tags/webgpu"}],"readingTime":3.095,"hasTruncateMarker":false,"authors":[{"name":"Martin Valigursky","title":"Software Engineer","url":"https://twitter.com/ValigurskyM","imageURL":"https://pbs.twimg.com/profile_images/1262848991982690305/gUUoHdk1_400x400.jpg","key":"martin"}],"frontMatter":{"authors":"martin","slug":"initial-webgpu-support-lands-in-playcanvas-engine-1-62","title":"Initial WebGPU support lands in PlayCanvas Engine 1.62!","tags":["webgpu"]},"unlisted":false,"prevItem":{"title":"Announcing the New PlayCanvas Asset Store","permalink":"/announcing-the-new-playcanvas-asset-store"},"nextItem":{"title":"WebXR AR Made Easy with PlayCanvas","permalink":"/webxr-ar-made-easy-with-playcanvas"}},"content":"WebGPU is a cutting-edge technology that promises to revolutionize the way 3D graphics are handled on the web. As the successor to WebGL, WebGPU provides faster and more efficient rendering capabilities for complex 3D graphics and simulations.\\n\\nPlayCanvas has been at the forefront of this new technology and has been working on adding WebGPU support to its platform.\\n\\nWith WebGPU, we can expect to see more immersive and interactive 3D experiences on the web in the future.\\n\\n[![WebGPU Area Lights](/img/webgpu-area-lights-demo.jpg)](/img/webgpu-area-lights-demo.jpg) \\n[_PlayCanvas WebGPU Clustered Area Lights Demo_](https://playcanvas.com/demos/arealights/)\\n\\n## Refactoring of WebGL engine\\n\\nBefore adding support for WebGPU, it\'s important to discuss the significant amount of refactoring work that was required on our existing WebGL engine. Implementing deeper architectural changes while preserving backwards compatibility required a significant amount of meticulous care.\\n\\n- To enable support for WebGPU, we needed to establish a clear separation of graphics technology that could be shared between WebGL and WebGPU. This involved a significant refactoring effort to extract WebGL-specific code into a separate set of classes.\\n- PlayCanvas utilizes a collection of shader chunks to produce GLSL shaders that implement advanced material properties and lighting modes, as well as custom shader chunks defined by users. However, since WebGPU employs the WGSL language, we used glslang and tint WASM modules to dynamically convert these shaders on-the-fly with injecting support for uniform buffers and other modifications.\\n- The PlayCanvas engine lacked explicit render passes, making the rendering process more rigid and harder to extend. This was solved by implementing a FrameGraph that allowed us to describe the rendering process as a set of render passes, their dependencies, and associated targets, which created a more flexible and performant rendering architecture.\\n- Unlike WebGL, which sets render state and shaders using a custom API, WebGPU specifies all those through render pipelines. To support both rendering APIs with optimal performance, we needed to refactor the render states into standalone objects that are efficient to compare and set up.\\n- To support the WebGPU platform, we need to undergo a significant refactoring to organize uniforms into uniform buffers.\\n- To facilitate the asynchronous creation of WebGPU device, we have introduced a new async API to create a graphics device, which is the primary breaking change required to adopt WebGPU.\\n\\n## What is left to do\\n\\n- Our primary objective is to align the WebGPU implementation with that of WebGL, and while we have made significant progress towards this goal, there are still some features that are missing. Furthermore, several smaller details require cleanup and rectification.\\n- We need to incorporate it into the Editor environment for both launched and published applications. Currently, only WebGL is available in this environment.\\n- Our primary objective is to achieve full parity with WebGL, but initially, we are focusing on basic implementations of some concepts to deliver a working implementation, which will need to be extended to meet our performance objectives.\\n- WebGPU provides developers with access to Compute Shaders, which enables more efficient parallel processing of data on the GPU. This feature can significantly improve the performance of complex algorithms and simulations, which may have been impractical to run on the CPU. With access to Compute Shaders, we can bring new visual features to the next level, such as advanced particle systems, post-processing and global illumination techniques.\\n\\n## Engine examples\\n\\nAs an early pre-release of WebGPU, we have updated several engine examples to use it, which can be accessed on [https://playcanvas.github.io](https://playcanvas.github.io/). To use WebGPU, the Chrome Canary browser is required, with the \'chrome://flags/#enable-unsafe-webgpu\' flag enabled.\\n\\n[![Examples Browser WebGPU](/img/playcanvas-examples-browser-webgpu.jpg)](/img/playcanvas-examples-browser-webgpu.jpg)\\n\\n[PlayCanvas Examples Browser](https://playcanvas.github.io/)\\n\\nLet us know what you think in the [forums](https://forum.playcanvas.com/t/engine-release-v1-62/30360)!\\n\\n### Attributions\\n\\n[Oldsmobile Cutlass Supreme Sedan \'71](https://sketchfab.com/3d-models/oldsmobile-cutlass-supreme-sedan-71-78f76d386a4341b0b71745bdc50fd5ab) by Barbo is licensed under [Creative Commons Attribution](https://creativecommons.org/licenses/by/4.0/)"},{"id":"webxr-ar-made-easy-with-playcanvas","metadata":{"permalink":"/webxr-ar-made-easy-with-playcanvas","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-03-16-webxr-ar-made-easy-with-playcanvas.md","source":"@site/blog/2023-03-16-webxr-ar-made-easy-with-playcanvas.md","title":"WebXR AR Made Easy with PlayCanvas","description":"We are excited to announce the launch of our WebXR AR Starter Kit, available in the New Project dialog today!","date":"2023-03-16T00:00:00.000Z","tags":[{"label":"ar","permalink":"/tags/ar"},{"label":"webxr","permalink":"/tags/webxr"}],"readingTime":0.8,"hasTruncateMarker":false,"authors":[{"name":"Steven Yau","title":"Partner Relations Manager","url":"https://twitter.com/yaustar","imageURL":"https://pbs.twimg.com/profile_images/1675831859756908545/E60-0cNq_400x400.jpg","key":"steven"}],"frontMatter":{"authors":"steven","slug":"webxr-ar-made-easy-with-playcanvas","title":"WebXR AR Made Easy with PlayCanvas","tags":["ar","webxr"]},"unlisted":false,"prevItem":{"title":"Initial WebGPU support lands in PlayCanvas Engine 1.62!","permalink":"/initial-webgpu-support-lands-in-playcanvas-engine-1-62"},"nextItem":{"title":"Draco Mesh Compression Arrives in the PlayCanvas Editor","permalink":"/draco-mesh-compression-arrives-in-the-playcanvas-editor"}},"content":"We are excited to announce the launch of our WebXR AR Starter Kit, available in the New Project dialog today!\\n\\n[![New Project WebXR](/img/webar-xr-starterkit-project-dialog.jpg)](/img/webar-xr-starterkit-project-dialog.jpg)\\n\\n[WebXR](https://immersiveweb.dev/) is a technology that powers immersive and interactive AR and VR experiences to be accessed through supported web browsers. This allows us to build memorable, engaging content and share them with just a URL. No installs needed!\\n\\nThe starter kit comes with all you need to kickstart your AR experience for WebXR including:\\n\\n- Real world light estimation\\n- AR shadow renderer\\n- AR object resizing and positioning controls\\n- Physics raycasting\\n- And more!\\n\\nLook how quickly you can create AR experiences below!\\n\\n
\\n \\n
\\n\\n[Pacman Arcade + animation](https://sketchfab.com/3d-models/pacman-arcade-animation-0b43f85af5384ea4bac5d6e2d3cbd008) by Daniel Br\xfcck is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)\\n\\n[Try it on your device](https://playcanv.as/p/inoDeWOQ/)\\n\\nGive the Starter Kit a try today at [playcanvas.com](https://playcanvas.com) where you can use it for free!"},{"id":"draco-mesh-compression-arrives-in-the-playcanvas-editor","metadata":{"permalink":"/draco-mesh-compression-arrives-in-the-playcanvas-editor","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-02-28-draco-mesh-compression-arrives-in-the-playcanvas-editor.md","source":"@site/blog/2023-02-28-draco-mesh-compression-arrives-in-the-playcanvas-editor.md","title":"Draco Mesh Compression Arrives in the PlayCanvas Editor","description":"We are thrilled to announce the immediate availability of Draco Mesh Compression in the PlayCanvas Editor! Our latest feature allows developers to compress meshes using Google\'s Draco technology, reducing file sizes and enhancing the end-user experience.","date":"2023-02-28T00:00:00.000Z","tags":[{"label":"compression","permalink":"/tags/compression"},{"label":"editor","permalink":"/tags/editor"},{"label":"gltf","permalink":"/tags/gltf"},{"label":"performance","permalink":"/tags/performance"}],"readingTime":1.64,"hasTruncateMarker":false,"authors":[{"name":"Will Eastcott","title":"CEO","url":"https://twitter.com/willeastcott","imageURL":"https://pbs.twimg.com/profile_images/2635146631/edcd8b6dc4a34625770095941519ca8a_400x400.png","key":"will"}],"frontMatter":{"authors":"will","slug":"draco-mesh-compression-arrives-in-the-playcanvas-editor","title":"Draco Mesh Compression Arrives in the PlayCanvas Editor","tags":["compression","editor","gltf","performance"]},"unlisted":false,"prevItem":{"title":"WebXR AR Made Easy with PlayCanvas","permalink":"/webxr-ar-made-easy-with-playcanvas"},"nextItem":{"title":"How to make your HTML5 Games Awesome!","permalink":"/how-to-make-your-html5-games-awesome"}},"content":"We are thrilled to announce the immediate availability of Draco Mesh Compression in the PlayCanvas Editor! Our latest feature allows developers to compress meshes using Google\'s Draco technology, reducing file sizes and enhancing the end-user experience.\\n\\nAt its core, [Draco Mesh Compression](https://google.github.io/draco/) reduces the amount of data needed to represent 3D graphics without compromising visual quality. The technology achieves this by applying a lossy compression algorithm to the mesh data. With less data to transfer, the result is faster load times and lower bandwidth costs for your applications.\\n\\nThe open source [PlayCanvas Engine](https://github.com/playcanvas/engine) has been able to load Draco-compressed glTF 2.0 files for quite some time now. But now you can generate these Draco-compressed glTF files in the Editor at import time. Check out how easy it is to use:\\n\\n
\\n \\n
\\n\\n_[\\"1972 Datsun 240k GT\\"](https://skfb.ly/6VtZu) by Karol Miklas is licensed under [Creative Commons Attribution-ShareAlike](https://creativecommons.org/licenses/by-sa/4.0/)._\\n\\nIn the example above, a **49.9MB** GLB file is crunched down to only **3.67MB**. That\'s a **92.6% reduction is file size**! And for the majority of scenes, you should notice _no difference in terms of visual quality_. The only cost is decompression time when the compressed GLB is downloaded by an end user, but this should be significantly less than what is saved in terms of download time.\\n\\nTo enable the feature, open your Project Settings in the Inspector, expand the Asset Tasks panel and edit the Mesh Compression setting. Then, simply Re-Import any existing FBX or GLB and compression will be applied. Any FBX or GLB subsequently imported will also respect your mesh compression setting. Read more on the [Developer Site](https://developer.playcanvas.com/user-manual/assets/import-pipeline/#mesh-compression).\\n\\nWe believe that mesh compression is going to take many types of applications to the next level, particularly e-commerce applications like product configurators, which need to load detailed meshes as fast as possible.\\n\\nGet started with PlayCanvas today and make your WebGL dreams a reality!"},{"id":"how-to-make-your-html5-games-awesome","metadata":{"permalink":"/how-to-make-your-html5-games-awesome","editUrl":"https://github.com/playcanvas/blog/tree/main/blog/2023-02-07-how-to-make-your-html5-games-awesome.md","source":"@site/blog/2023-02-07-how-to-make-your-html5-games-awesome.md","title":"How to make your HTML5 Games Awesome!","description":"How To Make Your HTML5 Games Awesome","date":"2023-02-07T00:00:00.000Z","tags":[{"label":"gamedev","permalink":"/tags/gamedev"},{"label":"html5","permalink":"/tags/html-5"},{"label":"webgl","permalink":"/tags/webgl"}],"readingTime":11.625,"hasTruncateMarker":false,"authors":[{"name":"Paulo Oliveira","title":"Associate Partner Support Engineer","url":"https://www.linkedin.com/in/paulo-oliveira-ninitoph/","key":"paulo"}],"frontMatter":{"authors":"paulo","slug":"how-to-make-your-html5-games-awesome","title":"How to make your HTML5 Games Awesome!","tags":["gamedev","html5","webgl"]},"unlisted":false,"prevItem":{"title":"Draco Mesh Compression Arrives in the PlayCanvas Editor","permalink":"/draco-mesh-compression-arrives-in-the-playcanvas-editor"},"nextItem":{"title":"PlayCanvas now supports Microsoft volumetric video playback","permalink":"/playcanvas-now-supports-microsoft-volumetric-video-playback"}},"content":"import ReactPlayer from \'react-player\'\\n\\n![How To Make Your HTML5 Games Awesome](/img/Space-Rocks-thumbnail.jpeg)\\n\\nThe quality of a video game is often determined by how polished it is. It\'s the attention to detail and the finishing touches that can make a good game great. In this article, we\'ll take a look at the importance of polish in game development and how it can significantly enhance the overall experience.\\n\\nWe\'ll use [Space Rocks!](https://playcanvas.com/project/1029772/overview/space-rocks), a simple Asteroids game created with the PlayCanvas game engine to showcase how even the smallest details can make a big impact.\\n\\n> [Game juice](https://www.youtube.com/watch?v=Fy0aCDmgnxg) is a design term to refer to the small visual and audio effects that are added to a game to make it feel more satisfying to play. This can include things like screen shakes, particle effects, and sound effects that are triggered when the player takes certain actions. Game juice is all about enhancing the overall feel of a game and making it more immersive and enjoyable.\\n\\nParticularly, we\'ll explore how game polish can be achieved through **game juice**.\\n\\n\\n\\n[Play it here!](https://playcanvas.com/project/1014332/overview/space-rocks)\\n\\n## How it started\\n\\n\\n\\nThis was our starting point before we added game juice. While the game is fully functional and plays well, it lacks the visual and audio effects that would make it truly engaging. As a result, it feels a bit dull and uninteresting.\\n\\nHowever, with the right attention to detail and some careful implementation of game juice, we can transform this basic Asteroids game into something much more exciting and satisfying to play.\\n\\n## What can we improve?\\n\\nTo think about what should have game juice, I always try to narrow down the most common interaction or core mechanic of the game. In our case, that would probably be:\\n\\n- Shooting\\n- Destroying asteroids\\n- Colliding with asteroids\\n\\nWith those three key pieces in mind, let\'s start thinking about how we can improve them.\\n\\n## For shooting\\n\\nIt\'s not very interesting right now:\\n\\n![Basic Shooting](/img/Space-Rocks-image9.gif)\\n\\nIf we want to change that, there\'s a few key things we can do. We can increase the fire rate through a script that allows us to easily control by decreasing the fire cooldown.\\n\\n```javascript\\nGun.attributes.add(\'cooldown\', {\\n type: \'number\',\\n default: 0.25,\\n title: \'Cooldown\',\\n description: \'How long the gun has to wait between firing each bullet\'\\n});\\n\\nGun.prototype.update = function (dt) {\\n this._cooldownTimer -= dt;\\n\\n if (this.app.mouse.isPressed(pc.MOUSEBUTTON_LEFT) && this.canFire()) {\\n this.fireBullet();\\n }\\n};\\n```\\n\\nIn fact, while we\'re at it, let\'s make shooting a bit more unpredictable. Let\'s add some spread to our shots!\\n\\n```javascript\\nGun.attributes.add(\'spread\', {\\n type: \'number\',\\n default: 10,\\n title: \'Bullet Spread\',\\n description: \'Up to how many degrees each bullet should vary in Y rotation.\'\\n});\\n\\nGun.prototype.applySpreadOn = function (bullet) {\\n var rotation = this.entity.getEulerAngles();\\n rotation.y += getRandomDeviation(this.spread);\\n bullet.setEulerAngles(rotation);\\n};\\n```\\n\\nA simple but impactful change! Here\'s how it looks with values I put in for some fun:\\n\\n![Shooting Spread Effect](/img/Space-Rocks-image7.gif)\\n\\nI highly encourage you to play with these values to see what\'s fun for you!\\n\\nIt\'s getting better, but still not there. Let\'s think about more visual aspects now. What more can we do to make it more visually appealing?\\n\\nPlayCanvas has a nice feature that allows you to have tons of lights in your scene with very little performance impact! It\'s called \u2728 Clustered Lighting \u2728.\\n\\n

Clustered area lights are happening at @playcanvas ! pic.twitter.com/LTwlhbcg8y

— Martin Valigursky (@ValigurskyM) November 11, 2021
- - + + -

Autocomplete and Realtime API Reference added to Code Editor

· One min read

PlayCanvas scripters rejoice! The Code Editor has just received a major upgrade. We have just deployed two new related features:

+

Autocomplete and Realtime API Reference added to Code Editor

· One min read

PlayCanvas scripters rejoice! The Code Editor has just received a major upgrade. We have just deployed two new related features:

  1. Autocompletion
  2. Realtime API reference documentation
  3. diff --git a/avif-webp-land-in-editor/index.html b/avif-webp-land-in-editor/index.html index e0b69c2b0..a288191dc 100644 --- a/avif-webp-land-in-editor/index.html +++ b/avif-webp-land-in-editor/index.html @@ -5,11 +5,11 @@ Boost Your Efficiency: Editor gets Support for AVIF and WebP | PlayCanvas Blog - - + + -

    Boost Your Efficiency: Editor gets Support for AVIF and WebP

    · 3 min read
    Mark Lundin
    Software Engineer

    AVIF + WebP Support

    +

    Boost Your Efficiency: Editor gets Support for AVIF and WebP

    · 3 min read
    Mark Lundin
    Software Engineer

    AVIF + WebP Support

    Today we're excited to announce that PlayCanvas now supports WebP and AVIF images natively in the editor. Two new, efficient image formats built for the web.

    This is not just an exciting update for us but a game-changer for anyone looking to optimize their projects for faster load times and better quality.

    JPGs and PNGs have served us well. They're reliable and you can use them everywhere. AVIF and WebP are the new kids on the block. They offer better compression with a wider range of features like alpha channels, HDR and wide color gamut. But how do these formats work in practice and are they really that good? Let's dive in.

    diff --git a/basis-texture-compression-arrives-in-playcanvas/index.html b/basis-texture-compression-arrives-in-playcanvas/index.html index 674bf05f6..47a207850 100644 --- a/basis-texture-compression-arrives-in-playcanvas/index.html +++ b/basis-texture-compression-arrives-in-playcanvas/index.html @@ -5,11 +5,11 @@ Basis Texture Compression arrives in PlayCanvas | PlayCanvas Blog - - + + -

    Basis Texture Compression arrives in PlayCanvas

    · 3 min read
    Steven Yau
    Partner Relations Manager

    PlayCanvas implemented the fantastic hardware texture compression workflow in 2016 which allowed users to build bigger and better WebGL apps, even on low memory devices like mobile phones.

    +

    Basis Texture Compression arrives in PlayCanvas

    · 3 min read
    Steven Yau
    Partner Relations Manager

    PlayCanvas implemented the fantastic hardware texture compression workflow in 2016 which allowed users to build bigger and better WebGL apps, even on low memory devices like mobile phones.

    JPGs and PNGs are great formats for transmission over a network because they tend to compress nicely. But once the images are downloaded and handed over to WebGL, they must decompressed to raw RGB(A) data. Using hardware compressed textures is important as decompression is performed in silicon on the GPU which avoids the need to utilize lots of memory.

    This 4096 x 2048 Earth texture is a 1.81MB JPG but takes a huge 33.6MB of VRAM when uncompressed!

    Earth Texture

    diff --git a/better-asset-management/index.html b/better-asset-management/index.html index ccc1f8d12..eb6ff7289 100644 --- a/better-asset-management/index.html +++ b/better-asset-management/index.html @@ -5,11 +5,11 @@ Better Asset Management | PlayCanvas Blog - - + + -

    Better Asset Management

    · 2 min read

    PlayCanvas Editor

    +

    Better Asset Management

    · 2 min read

    PlayCanvas Editor

    Forget about Twitter changing stars to hearts. PlayCanvas introduces Asset Folders!

    It's been a long time coming, but today we've revolutionized the way you organize your PlayCanvas assets. Folders, sub-folders, and folders within other folders are all supported right now in the PlayCanvas Editor. We've also updated all the icons to make everything clear crisp and beautiful.

    assetfolders

    diff --git a/build-a-game-for-a-loved-one-this-month/index.html b/build-a-game-for-a-loved-one-this-month/index.html index 81c546d1d..eadd1a916 100644 --- a/build-a-game-for-a-loved-one-this-month/index.html +++ b/build-a-game-for-a-loved-one-this-month/index.html @@ -5,11 +5,11 @@ Build a game for a loved one this month. | PlayCanvas Blog - - + + -

    Build a game for a loved one this month.

    · 3 min read

    Our most popular PLAYHACK ever finishes today. Last month's gem challenge sparked your creativity and led to over 30 forks of the project.

    +

    Build a game for a loved one this month.

    · 3 min read

    Our most popular PLAYHACK ever finishes today. Last month's gem challenge sparked your creativity and led to over 30 forks of the project.

    yet another gem

    This month our favorite PLAYHACK game is Yet Another Gems by rzinurov. A great 3D twist on a classic format. We were most impressed by the polish of the game. From the full menu and UI, to the the inclusion of online leaderboards using Google Play Services, this is a complete game. An impressive achievement for only one month's development.

    diff --git a/build-facebook-playable-ads-with-playcanvas/index.html b/build-facebook-playable-ads-with-playcanvas/index.html index b4d43421e..80727a611 100644 --- a/build-facebook-playable-ads-with-playcanvas/index.html +++ b/build-facebook-playable-ads-with-playcanvas/index.html @@ -5,11 +5,11 @@ Build Facebook Playable Ads with PlayCanvas! | PlayCanvas Blog - - + + -

    Build Facebook Playable Ads with PlayCanvas!

    · 2 min read
    Steven Yau
    Partner Relations Manager

    Facebook Playable Ad

    +

    Build Facebook Playable Ads with PlayCanvas!

    · 2 min read
    Steven Yau
    Partner Relations Manager

    Facebook Playable Ad

    PlayCanvas are very excited to announce official support for Facebook Playable Ads! 🚀

    What are Playable Ads?

    Playable ads are small, interactive previews of a game or app that give a taste of the experience before the user choses to download it. These ads from Facebook are normally shown in the news feed or with ‘rewarded ads’ in other games and apps in exchange for an in-game/app reward.

    diff --git a/build-webgpu-apps-today-with-playcanvas/index.html b/build-webgpu-apps-today-with-playcanvas/index.html index 4472fb367..db0acd7d3 100644 --- a/build-webgpu-apps-today-with-playcanvas/index.html +++ b/build-webgpu-apps-today-with-playcanvas/index.html @@ -5,11 +5,11 @@ Build WebGPU Apps Today with PlayCanvas | PlayCanvas Blog - - + + -

    Build WebGPU Apps Today with PlayCanvas

    · 3 min read

    It's here! 🥳 Today, we're excited to announce that WebGPU support has officially arrived in the PlayCanvas Editor.

    +

    Build WebGPU Apps Today with PlayCanvas

    · 3 min read

    It's here! 🥳 Today, we're excited to announce that WebGPU support has officially arrived in the PlayCanvas Editor.

    Editor with WebGPU Scene

    WebGPU on the Rise

    Since its inception back in 2010, PlayCanvas has been layered on top of WebGL. In 2017, we were proud to launch support for WebGL 2.0 in partnership with our friends at Mozilla. April 2023 marked the beginning of a new era for web graphics when Google enabled WebGPU by default in Chrome 113. Since then, WebGPU adoption has exploded and today, Web3D Survey reports that 62.19% of end users can now run WebGPU. With Firefox and Safari due to launch their WebGPU support in the not-too-distant future, expect this number to rise dramatically in 2024.

    diff --git a/changes-for-18th-november/index.html b/changes-for-18th-november/index.html index ce98ad62d..17af4b403 100644 --- a/changes-for-18th-november/index.html +++ b/changes-for-18th-november/index.html @@ -5,11 +5,11 @@ Changes for 18th November | PlayCanvas Blog - - + + -

    Changes for 18th November

    · 2 min read

    A summary of the last few weeks changes.

    +

    Changes for 18th November

    · 2 min read

    A summary of the last few weeks changes.

    It's always hard to make sure that we communicate enough about the changes we're making and what we're working on. So I'm going to try and post weekly or bi-weekly change lists to keep you up to date on what's going on.

    PlayCanvas Designer