VR with Unity #5

Daunting supermarkets

 Posted on December 18, 2023  |  8 minutes  |  1677 words  |  Barthélémy Paleologue

Have you ever been in a supermarket and felt overwhelmed by the task of grabing objects from the shelves? I know, i know. The supermarket of dooooom Of course you have! This feeling of frustration is not uncommon for people not using advanced VR selection techniques in real supermarkets. That is why we will explore some techniques that could be used to make your VR experience more enjoyable while shopping for groceries. [Read More]

VR Selection Techniques

An overview of 3 selection techniques in VR

 Posted on December 10, 2023  |  2 minutes  |  324 words  |  Barthélemy Paléologue

Raycasting from the eyes In mainstream VR, the most common selection technique is raycasting from the controller. It is simple and cheap to implement, but having to move the hands around can be tiring. https://journals.sagepub.com/doi/10.1177/21695067231192429 Using your gaze allows for a very natural way to select distant object (the reach is infinite). It is used in newer headsets such as the Apple Vision Pro that take advantage of cutting edge hardware. [Read More]

The Cave System

Wait it's not a headset?

 Posted on December 10, 2023  |  3 minutes  |  454 words  |  Barthélemy Paléologue

src: wikipedia When talking about VR nowadays, we often think about headsets and controllers. But VR is far more diverse than you would think at first glance. In this post, I will present the CAVE system, an alternative to headsets that is still used today in many research labs. What is a CAVE? CAVE stands for Cave Automatic Virtual Environment. It is a room where the walls are screens and where you can walk around freely. [Read More]

VR with Unity #3

Your first VR game on Oculus Quest

 Posted on December 10, 2023  |  10 minutes  |  2016 words  |  Barthélemy Paléologue

Let’s do some real VR development! The school lent me an Oculus Quest, so I will be doing the next tutorials with it. What are we doing today? Okay so last week we created a simple game, following the Roll a ball tutorial from Unity. The ball was controlled using the keyboard, but today we will control it by grabbing the game board with our hands, and moving it around to make the ball roll! [Read More]
VR  Unity  C#  IGD301 

The Compute Shader Tutorial #2

Uniform buffers

 Posted on December 3, 2023  |  6 minutes  |  1115 words  |  Barthélemy Paléologue

Hello again! This is the second part of my compute shader series. If you haven’t read the first part yet, you can find it here. Now that we know how to create simple compute shaders, we will see how to parameterize them with uniforms. Uniformity at its finest No, not that kind of uniform! What are shader uniforms? Last time we added 2 arrays on the GPU. What if we wanted to add the first one to twice the second one? [Read More]

VR with Unity #2

Rolling a ball

 Posted on November 27, 2023  |  18 minutes  |  3681 words  |  Barthélemy Paléologue

This blog post is the 2nd in the VR with Unity series. This week, we are setting a small scene in Unity to get familiar with the editor and have something to work with in VR next week. This is essentially the Roll a Ball tutorial from Unity, but with a few changes. If you already know how to use Unity, you can go crazy and expend on Roll a Ball as long as the core mechanic is the same (we will need it next week). [Read More]
VR  Unity  C#  IGD301 

The Compute Shader Tutorial #1

Let's start from the beginning

 Posted on November 26, 2023  |  10 minutes  |  2109 words  |  Barthélemy Paléologue

Welcome to my tutorial on compute shaders using WebGPU and BabylonJS! It is meant to be accessible to beginers and then to provide concrete use cases of compute shaders in the context of terrain generation and grass rendering. What is a compute shader? Let’s say you have an array of numbers like this: let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; Now if you want to add 1 to each number, you can do it like this: [Read More]

VR With Unity #1

Setup

 Posted on November 20, 2023  |  3 minutes  |  499 words  |  Barthélemy Paléologue

Hello, welcome to my blog! This is the first post of a series of posts about VR development with Unity. I am currently a student at Telecom Paris and writing this blog is part of our assignment. I will try to keep things as simple as possible so that everyone can follow along. For this first part, I will only cover the setup part of our development environment with Unity. If you already have Unity installed and know how to use it, you can skip this part. [Read More]