From the course: 3D Content Creation for Virtual Reality

Using the exercise files - Maya Tutorial

From the course: 3D Content Creation for Virtual Reality

Start my 1-month free trial

Using the exercise files

- [Voiceover] If you have access to the Exercise Files for this course, you'll see that we have a couple of different directories available for you to be able to work along with this course. So we're gonna take a look that quickly and we're gonna take a look at how you can work with a project in Unity if you have those files. And also how you can work along in Unity if you do not. And same with Maya, a project set up and an existing project So if you have the Exercise Files, I have them here just on my desktop, and if you click on Exercise Files, you're gonna see that we have three directories right off the bat here. So we have a maya_WorkshopVR, unity_WorkshopVR, and a VR_SampleGame. So let's actually go backwards here and start with the bottom. The VR_SampleGame is the overall project that is built out. I've done a build and run here for you of a Unity VR porject and this is our simple little workshop virtual reality experience. You can click on that and actually go in and play it to whatever setting that you want it to be set to, and you can enjoy this specifically with a virtual reality headset. So this is designed to be played with a virtual reality device. So back to the root structure here of the Exercise Files, you'll see that we also have a maya_WorkshopVR and a unity_WorshopVR. Let's dive into each of these. If I click on the maya_WorkshopVR, you're gonna see that we have a simple structure here. Scenes, sourceimages, and workspace. So if you're familiar with Maya, that's the basic requirement for your models and your texture maps. And the workspace is just simply defining the project. If we double-click on scenes, you'll see that those are the scene files associated with specific Maya areas where we talk about workflows within Maya for modeling, for texturing, and for setting up our scene. And they're labeled by the chapter and the video number there. So you'll see, for example, 02 represents chapter two. Let's step back out to the top here, as well. And actually, while we're on Maya, let's take a look at how you can work with those files. In this course, I'm utilizing Maya 2016. You can use, not only any version of Maya that you prefer if to follow along with, but if you have Maya 2016, you can use the Maya 2016 specific files. If you're using another application of your choosing, it's very easy to follow along with this, and you can set up your own structure in any way you like. Just a note here, you can actually go into the File menu of Maya, go down to Set Project, and I'd recommend you click on the maya_WorkshopVR, so double-click on that. Then if you just hit Set, it's gonna define that as your project. And off you go. It will now see whenever you go to File, Open Scene, it's gonna find all of your scene files, ready to go as you follow along. Let's take a look at the unity_WorkshopVR directory. Same thing as the Maya workshop project directory, in the sense that we have a typical Unity structure. If we click on the Assets folder, we're gonna see that we have all the scene files as they relate to specific chapters in discussion here with Unity. You'll see that, again, they're labeled by chapter number, 02, 03, 04, anywhere that we're working with Unity in this virtual reality project. And you can follow along with those. Now if you want to set up the project within Unity, we'd simply just run Unity. I should point out that I'm running, at the time of this course record, Unity 5.4 Version B13. If you're familiar with Unity, 5.4 brings with it some new cinematic effects. You can run whatever version you want. I'd recommend you run this version, especially if you're gonna follow along with the virtual reality component using a head-mounted display. In this case, I'm using the Oculus Rift DK2 and it works fine with this project setup. We'll go into Unity and what you'll want to do is, you're gonna want to click Open and go right into the Exercise Files. So we would go into the Exercise Files folder, click on unity_WorkshopVR, go into WorkshopVR and you can see that your project is there. So your actual project directory is simply WorkshopVR. You can select that folder and it will drive it in as your project. As you can see, I already have it here. Once you've done that, it's gonna open up the WorkshopVR project setting. In here, you'll see that it'll open up a default chapter. In this case, it is the first one 02_06, and that's fine. If at any time, you wanna access any of the other courses, or the chapters related to the course, you can either go through Assets and just click on those scenes, or simply go to File, Open Scene from the Exercise Files directory, underneath the Assets folder. And that'll get you there. Let's go back, I'm just gonna exit out of Unity. If you do not have access to these scene files and you want to create your own project, here's how you do that. So if you want to follow along and be able to just build your own as you go, you click New, call this whatever you want. And you could call this, again, WorkshopVR, is what we're working with, to find a place that you want to put that. And we're working with a 3D workflow in here. Now a couple of things to point out. You can go the Add Asset Package, these are the default standard things that come with Unity install. What I would recommend that you do, is click on things like Effects, because that will bring in anything new related to Unity 5.4, specifically when we get into some of the cinematic effects. Things like ambient occlusion and bloom for your virtual reality environment. You also want to use things like Characters, because we use the first person, the FPS character, to be able to work within our scene, within our virtual reality scene. Those are two basic ones that you'd want to click. And you would click Done and then Create project. It's gonna create your project and you'll have everything you need in there. So that's how you set up the Unity project to work with it. We looked at how we can work with the Maya project. If at any time, if you wanna jump out and try this sample game, you can do that as well. So I mentioned before, you don't actually need a head-mounted display to work along with these here at all. You can build a virtual reality project in the same way that I'm doing it throughout this course without that. It is a lot more fun, if you can actually see and experience how everything is coming along, with a head-mounted display though of course, as well. Enjoy the course.

Contents