Sunday, September 7, 2014

Oculus Rift - Lego Team Blue

Another long time before I have posted anything on this blog of mine.

During my 2nd semester at the University of Texas at Dallas, I had taken Prof. Ryan McMahan's Virtual Reality course. During that course we were introduced to the world of virtual reality.

For the course we had to develop a simulator to achieve a given task. This was done in teams. We had been given the task of simulating Lego and its construction.



I can only provide information as to what we managed to do and no one took a video or got any screenshot of the project working properly.

Here is a video of my colleagues team who had worked on a similar project but involved training someone to climb a mining truck.

Project requirements:
Realistically Simulate Lego, its behavior and methods of interaction and assembling.

Set-up:
We had the UT Dallas Art and Technology VR Motion Capture (MoCap) lab at our disposal. The lab had Vicon camera which tracked an Occulus Rift (DK1) and 2 Wii Remotes. These remotes were essential the "hand" within our environment and each button served a function as programmed. Since the Occulus Rift was being tracked by Vicon, it realistically simulated strafing of the head which gave a very realistic environment.

Software:
We worked in a modified version of the Unity game engine, called 5-UDE. He used C# for all out coding.

Issue we faced:

-We wanted to get a very realistic feel to the system and hence we tried to replicate how a lego would work and feel. However, since Lego pieces within the MoCap space, were extremely small the unities physics engine did not detect them at times, and often collision would happen within the mesh rather than on its border. (SOLVED)

-Unity has a parent and child system for managing all game assets in the environment. This system does not work well with lego because Lego are "grouped", and interconnected in different ways and hence when dividing objects into 2 would work, but dividing objects into 3 were not feasible since there was not real relation to go on. Further, in a parent child system, who takes the title of child and parent? these questions did not have simple or tangible answers and hence we had to design our own system for managing all Lego pieces regardless of their configuration. (SOLVED)

Again, I'm sorry I don't have any video material to show you how the final product was and how well it worked.


No comments:

Post a Comment