Posts

Showing posts from December, 2017

11th of December Update

Image
So I think it's probably easiest to start with the screencast of what I've done over the past few days: So I currently have the very very basics of the core functionality working as you can hopefully see. We can toggle 4 hands on and off using the buttons and we can mirror the left hand over to the right and have two hands using just one and vice versa for the right hand mirroring. The first major step was just creating an in game user interface that you use your hands to control. I did this using the Interaction Button prefabs that the Leap team have created as part of their Interaction Engine module. At the current time the functionalities that I have present are: 1. Reset to normal which just has your two hands represented 2. Mirror your left hand which removes your right hand from the scene 3. Mirror your right hand which does the opposite 4. Four hands which renders the four hands Implementing this functionality ended up being a little bit more diffi...

6th of December Update

Image
So after yesterday's meeting with Jonny and Tobias, I had a few options of where to go next, including an idea of how to mirror the hands using the LeapTransform mirror method. What I had been doing wrong was over complicating it by creating a new LeapTransform object with the current hands Basis and then mirroring it and trying to assign it back to the Hands.Basis (not possible due to it being readOnly). The obvious solution courtesy of Jonny was to apply directly to the Hand basis. However that still didnt work. In the mean time i'd implemented a short term fix where I simply had two leap controllers, one of which I mirrored by setting the scale to -1. As hopefully you can see the bottom hands are the mirrored pair and the top hands are the non mirrored. The mirrored hands seems to have a single joint that functions weirdly so for now we decided to leave that idea. Next we posed a question on the Leap forums, Unity forums and a message via the contact us form for Le...

5th of Dec Update

Image
Haven't updated in a while because I haven't really made any major achievements, everything has been very gradual in growing my understanding with the Leap API as well as how Sam's demo actually works. I've been focusing the last few days on how Leap works, from how to access any leap data within a script to detecting hands using the HandModels[] from the current Frame. I had a slight play around with the concept of four hands simply by duplicating the LeapController and HandModels twice over and position them in a way as to replicate four hands. Movement is that where both the left hand controls both hands on the left side and vice versa with the right. This was a good way to visualise the task and see the gaps in why this technique wouldn't work. My current challenge is to replicate the mirroring from Sam's demo. Now that I understand the code better I can see that the way that Sam has implemented it is no longer possible with the new Orion API. He mir...