Check out a free preview of the full 3D on the Web & WebXR course

The "Introduction" Lesson is part of the full, 3D on the Web & WebXR course featured in this preview video. Here's what you'd learn in this lesson:

Ayşegül Yönet begins the course by sharing examples of WebXR and augmented reality being used in the real world. The applications range from architectural and medical uses to automotive and agricultural.


Transcript from the "Introduction" Lesson

>> Thank you for joining me today at the WebXR and 3-D on the Web workshop. Let me introduce myself, my name is Aysegul. I'm a cloud developer advocate for Azure AI and Mixed Reality, that's part of Microsoft. I'm also the co-chair of W3C Immersive Web Working Group, and Google Developer Expert for Web Technologies.

And you can find me everywhere with AysSomething. So few things that we are going to cover today. Number one, what is 3-D on the web and WebXR, and why they are good, and what kind of applications that you can create today? And afterwards, we'll create our first 3-D experience in three most popular libraries.

One of them is Babylon.js, the other one is A-Frame, and finally Three.js. Once we create those experiences, we will dive into turning our experiences to augmented reality and virtual reality experiences. Along the way, we will discover some of the WebXR capabilities, like Hit Test. We will see how we can load models from 3-D files.

And finally, we can discuss all of your questions, including how to make your applications more accessible, and what kind of features are coming in the near future. My slides are here at You can also take a picture of the QR code. There are lots of links on my slides, and they're very helpful.

So it would be really nice if you could take a picture. One of the first things that I want to start with is talking about the concepts. What is WebXR, and what do we mean by 3-D on the web? When we talk about the 3-D on the web, we mean just a canvas rendered with 3-D objects in it, but no immersive experience where you could interact with your mouse.

When it comes to WebXR, it is the newer web API, replacing older WebVR API. And includes not only the WebXR for VR, but also for augmented reality experiences as well. We are very used to acting in a 3-D world, and seeing information in a 3-D world. When you take all of the information and put it onto an Excel sheet, or any 2-D representation of it, it's really hard for people to understand the importance of it.

But when you put the same data on a context, when you see it, when you need it, exactly in the right place and right time, it makes a humongous difference. For example, this one is an augmented reality experience for HoloLens, where you are able to look at the layout of an airport.

And you can see the different layers and different information layers at the same time. Let me show you what HoloLens looks like, while this video is showing. I'll demo it a little later. This is an experience that the FDA approved for surgeries. When you go into surgery, especially in US, it's really scary to be asked all the time, where are we operating, and which part of your body we are operating?

Because the information that the surgeon needs is not right in front of them. They are not able to touch anywhere, so they can't really grab that information. But now with HoloLens, they can take the information with them to the surgery room, without having to touch anywhere. One of the cool experiences with HoloLens for the surgery room was also using eye-tracking.

Because having to use your hands somewhere is, that you cannot take away, but you might still need to interact with the UI and UX. In that case, we are able to see where you're looking, and then you can detect, touch, or select anything from the interface. Augmented reality is also very useful for manufacturing, or any time you need expert knowledge on something, and you need a lot of training.

This is one of the Microsoft applications called 365. And you are able to actually pinpoint the information to an exact location, or pinpoint it to an object. And then if you are a new employee, you can just come in and follow the instructions, and be very productive right away.

I actually did this and fixed a motorcycle, which I would never be able to do. Or if this information was given to me on a paper, I would never understand what they're talking about, because I wouldn't know the names of the tools. This is another 365 application, where you are able to call an expert online.

And because you have the headset, and they are able to see exactly where you're looking, and they can put extra information on top of what you're seeing. So in this case, the expert is saying, you need to open here, and drawing those arrows. But thankfully, it's not just headsets, and we have these capabilities on our phones today.

And a lot of applications that we use daily are implementing some augmented reality or immersive versions of them. This is the augmented reality experience of the Google Maps. When you come out of a train station in a city that you don't know, it's really hard to read that data from a 2-D map and know exactly where to go.

And GPS doesn't really work perfectly well in these situations. With the AR experience, you're able to look around, and the computer vision looks around and identifies where exactly you are, and then points you to the right direction. And this little tiny dot that you see is saying if things are behind you.

It's telling you which way to turn, which is a really cool application. And I'm a huge fan of the augmented reality, but VR is a very important part of it too. And this one tweet made my day, and also the article. Where Russian, [COUGH], farmers were using VR to make their cows happier and have more milk production, which is very interesting.

Learn Straight from the Experts Who Shape the Modern Web

  • In-depth Courses
  • Industry Leading Experts
  • Learning Paths
  • Live Interactive Workshops
Get Unlimited Access Now