Dana Vrajitoru
I355/C490/B590 3D Games Programming

I355/C490/B590 Lab 11

Due Date: Wednesday, December 11, 2024.

In this lab, we will start a virtual reality (VR) application.

Ex. 1. Unity Project. Create a new project in Unity of type VR Core called SnailTrail. If this is your first VR project, click on Download Template before creating the project.

Open Project Settings and under XR Plug-in Management, click on XR Interaction Toolkit. Click to enable the use of XR Device Simulator in scenes, then click ok for the toolkit to be imported.

Download the following zip file and extract the files inside:

lab11.zip

Import the files table.obj, table.mtl, snail.obj, snail.mtl, as well as the VertexColorShader into your project.

Add the table to the scene and scale it down so that it fits in the room. Apply a color to it and add a box collider to it.

Add the snail object to the scene and scale it down so that it fits on the table. Apply a material using the vertex color shader to it to see the colors. If that doesn't work, just assign a material with the color you want to the whole object.

Test the program to see the simulator at work.

Lab Submission

You can submit a Windows build for 5 extra credit points to Lab 11 in Canvas.