 Bagaimana mengenai mengenai HTCWI dan bagaimana untuk mengenai HTCWI menggunakan unity? Jadi, saya rasa lebih baik menunjukkan beberapa solusi dari Open Source. Kerana anda mempunyai HTCWI, ia bermakna anda mempunyai dua kontrol. Ini bermakna anda perlu menggunakan dua kontrol untuk memperkenalkan keadaan dengan itu. Mereka mahu mengambil sesuatu. Sebenarnya, itu satu solusi untuk itu. Ia disebut Newton VR. Ia adalah sebuah tools yang perlu. Jadi, Newton VR. Jadi... Baiklah. Bagaimana ini? Baiklah. Baiklah. Baiklah. Ia sebenarnya boleh membuatnya lebih baik. Baiklah. Baiklah. Maaf? Baiklah. Baiklah. Baiklah. Boleh anda lihat sekarang? Baiklah. Jadi, ini adalah Newton VR. Ia mempunyai sesuatu seperti ini. Ia mempunyai dua kontrol. Sebenarnya, anda boleh memperkenalkan sesuatu. Apabila anda memperkenalkan kontrol, anda akan memperkenalkan sesuatu. Ia wages ritmnya lebih parah.iquitkan penduduk saya. Baiklah. Mereka berada di sini. Esem Clouds. Baiklah. Ia sudah dilatihkan? Ya, tidak. Saya static. Ia hampir. W metalsakenya strengthen I don't know. Saya sudah diperkenalkan sedang. Juga saya mengalami semua su fans. Dan itu sangat bagus. Ini basically, ini simple tools yang kita gunakan. Kita constant-refor. So, and then you got the door. The door lock is over there. There's an NPR door lock writing. So, there you go. And this other stuff is note. So, this actually is pretty straightforward. We just basically attached. You look at the scene itself. It's basically attached. It's just like hang. I feel like my whole world just stop. If you look at the code over here, it's like even there's a gun or so. So, it's pretty much free. So, it's actually NPR example, gun, and stuff like that. And then just now I show you the boxers. It's like where is it? So, this one is a level thing. So, you got the base and the axle. It's a prefab. You just need to drag and drop and stuff like that. So, as you can see, it's like a simple, we always like to play that game. Escape room. By using this few element playing around, you add some texture and stuff like that. There you go. Escape room. Maybe it's a good death gem idea. So, that's about NPR. I mean, of course to set up you're a bit different than you normally set up a Steam VR game, but basically it's this one. NPR camera. You drag it over here. The controller got different kind of controller settings. Then after that, you can use this to actually then this will be like physically can interact with all this kind of virtual objects. So, that's about NPR. I mean, this is a quick introduction so you guys know what it is and then how you're going to use this. All these details of course you guys need to explore yourself. Or you can ask me because I use it for a few items. So, then I would like to talk about Focus Point VR. This is a very interesting open source. So, to access to Steam VR, you can go to the GitHub. So, over here you can search Newton VR and then after that, you go to the GitHub and download and stuff like that. And then another very interesting project is called Focus Point VR. Focus Point VR. Focus Point VR. So, there you go. This one. So, it's about interactivity framework. So, what it focuses is to let you control the world around you. So, you can scale object you can move object around using this thing. So, what's the difference between this thing and Newton VR? It can do something like this. So, if you want to do object manipulation using your tool control, you can do something. It's pretty neat. I'll do a quick demo over here. So, good point VR. Alright. I like this demo because this is moving this whole scene around. So, let me play this thing. Roy, can you? Just run again. You know how to control this, right? You use pointer what happened? You look at the base. So, point at the floor. Ya, there you go. Ya, like this. Ya, you can zoom out. There you go. Zoom up higher. Are you afraid of height? Look at the ground and zoom all the way up. Zoom zoom zoom. There you go. Ya, there you go. So, imagine you put a CT view over here. Like a map zoom-ing-ish already. And then you can do the smart nation or whatever, like CT view. Maybe the Marina Bay is over there. Alright. So, I'll show you how this thing works. So, of course the code itself is crazy. But the author actually can get rid of it really nicely. So, if you look at this ground, it's basically this focal point VR manipulation handle. I attached this thing. And after that, the controller you need to I don't know why he named this thing grab me into camera rate. But it's an instruction. You need to drag inside the camera rate. And after that, because this is a free fact, you need to drag it in and then this tool is added already. And after that, you can use this focal point system to control this particular thing. For this case, it's a ground. You need to add this focal point VR manipulation handle. And that's all. Of course, you look at the code, it's crazy. Because you need to handle the metrics between the controller to do some crazy stuff with it to make it to the scale transform and the rotational. But the idea is to get you ready for the depth jam. So, you got all these free tools for us to play around with to create something real fast. I won't jump. I'll just show you a video so that you got a good idea of what can be done. So, this is called read motion. So, it's another open source tool. So, the idea is actually do you see that he put another controller in front of his pants? You notice that? So, when he move around, then the player I mean, the world move also. This is a very neat tool. For most of the people they don't have motion sickness with this. So, instead of teleporting they use something like this to actually move around. And then he can shoot around somewhere. He already create a pretty nice like unity scene. But maybe it's a good idea to make it sci-fi or whatever. Maybe you can really do a multiplayer one. It's up to you guys though. It's open source. Just search for read motion and stuff like that. Then you can pretty much pull it from github. If you don't know how to pull from github just ask around. Right. So, another thing I want to show is there's a new tool that just came out from some guy. It's called Hold on. I think I didn't install it. But it's over here. It's called SteamVR Yotel. It's one SteamVR unity toolkit. So, this is a really nice tool. So, if you want to be a little bit old school instead of putting your controller inside the pants you decided to do teleportation you can use something like this. He already do the Bezier Curve laser pointer for us already. So, you can use this one. I remember it's basically a prefab and then you just need to attach it to your left controller or right controller and then you do the trigger then it should be done already. So, what's Bezier Curve so this is how it looks like. Do you see this? So, the normal one is like you are pointing at a certain area then you got the laser pointer straight over to the place that you want to teleport to. So, this one instead is a little bit like curved so that you can actually reach to a place that is higher than you that you cannot see. So, you can do something like this then you see a teleport over there. So, this is another way that you can use to actually, if you want to do teleportation instead of using that red motion which is more towards FPS or towards like strategy and stuff like that maybe. So, so, if you want to get started with a SteamVR project so you actually just go to the Unity Asset Store and then download the SteamVR plugin then after that you'll get the prefab the SteamVR prefab which is over here SteamVR prefab so, get this thing camera rig over here then after that I mean, if you want to do something with the controller itself you want to do something totally different that the things that I show you just now that all this kind of framework like interact with physics, object, teleportation and stuff like that you want to listen to the trigger event or the grab button so, the HD is why got a few like button and stuff like that one is a grip button where you grip it another one is the trigger so, you want to go down the deep level and then to listen to all this kind of thing and do some action so, what you need to do is you go to this after you drag this camera rig controller over here, so you see this controller left, so you add in this SteamVR track controller over here so, do you see this trigger press menu press thing over here so, this is a boolean which means that every time you click this thing already then this boolean will be like that so, you can listen to this so, and then with this then you can do all this kind of action you can program all the things that you need to but inside the update of whatever so, I think that's pretty much for me alright, any question? Yes? So, the data for the controllers, the stream of the data sit like the position and the timing of the matrix so, that's different kind of data right, so you're talking about the position of the controller itself, is it? so, because when I click okay, let me play this thing so, hold on so, when I play this thing so, do you see Roy, can you on the controller? Ya, both of them alright, can you move the thing around alright, okay, do you see this? the position actually changes so, the controller, you can just even to know the position of controller, you can do just get the transform position x, y, z or whatever so, that's the controller and then another thing is can you do the trigger press? right, you see this boolean has been press already, so this is how you get the boolean of the so, every update you listen to it or, that's another thing is if you look at the code over here where is it? so, another thing is they got the track the track pad x, y, z also because they got the track pad so, you can get it also I think it's a private, it's not public but you can access it using that one yes so, then you got the position already and all this kind of thing is all over here that you can just update listen to and then another way to get it is actually because we are track controller that I added just now so, you just get component then after that, you get this controller already so, this trigger click is actually a click event handler it's a delegate so, that's why you see me plus equal this thing so, it's like multi-cast it so, it's like every time the trigger is click then it will trigger this do click event so, this is how you listen to this event so, there's other stuff so, if you look at the controller itself bro, can you press the tap slot thank you if you look at the controller there's other stuff over here is it on trigger on pad touch so, pad is that pad touch when the pad is touch then it will give you the so, and then there's a few interesting thing so, if you look at the steam util and stuff like that you can actually fire out a keyboard or steam VR keyboard then you can do the typing so, but I think you can use the touchpad also but you haven't tested it normally, I just like clicking it so, basically you can type stuff and then things will happen so, did I miss anything okay, any more question so, I see all these interesting my just open source projects but, once those available like steam, like valve provided API and other sorry, the the track controller thing sorry, hold on can you do the trigger press ya, this particular thing just now you saw it when he press the trigger then the Boolean this is the bad boon and then all these other open source ones they don't necessarily build upon they have their own institution but, I'm not too I haven't test whether all of them work well together I think because this okay, let's talk about this steam VR track controller so, by default in the pre fact, it's not been set over that one, so it's somewhere hidden in the extra folder there's something called steam VR track controller and nobody knows about it but, I saw it, then I decided to try to tinker with it actually, I changed some of the code so, you see I command out the start because the start so, why I command it out and then why I use something called set device index the reason is this set device index will be called every time there's a new it will ask Roy to on it so, it's like, when they on it already then it will assign the device index so, but but the original code doesn't have something like this it assign when it start which screw things up I don't know what they do that's why I think they hide it somewhere but it's just an easy fix I don't know why they don't do this but anyway, I post it out in my medium so, you guys can use that code any more question? like, we built it with the icons and it was turning on the controller you can see the control icon so, it's done this one, is it? this one, is it? yeah, this is steam VR so, I mean you don't need to install this also but it's easier the thing is because it will keep the steam VR running so, every time you click the play button in your unity, you don't need to wait for like, few seconds so, it just keep on running behind, so that every time you press it then boom, that's why just now I just click that button and then straight away Roy can test it out, real fast so, that is more like a small monitor and also a capability to keep in connection yes, the background class if you didn't have this one, you can still run it and also run in bio applications yes, yes so, one good example is the chromium, special type of chromium VAT VR chromium right, can actually you can actually read the controller and the head-mounted display already so, that one doesn't, if you don't run this steam VR, you can still run it right, any more question? which version of unity are you using? 5 as in which as in 5.2 I think it's 5.1 something I haven't upgrade yet because I'm going to wait for this presentation finish then I'll upgrade well, that jam finish then I'll upgrade because I think the time will be sometime later oh, and then I can't wait for the you need to test HTC wide with Unreal Man using the HTC to become the editor of Unreal okay, download ah alright, any more question? where's Khalil ah? I won't come ah okay, we've got one more speaker but I think it's late but in the meantime so, the next thing in our agenda is anyone got any ideas that you want to present