Week 38 Blog - Assignment 2 - Markerless AR
Week 38
Markerless AR
Assignment 2
This week is lab work week for our 2nd assignment about markerless AR. As of ideas for what our project was going to be we had no idea going into this week. The plan we had about making a multiplayer shooter game was not going to work as our game had to be educational and we doubt soldiers are going to be our target audience. Eventually we agreed to make a recycling game after having an argument about this subject.
We decided that the game should work something like this. User has a 4 types of bins to place wherever he likes. When all the bins are placed, the trash around the bins will spawn and user has to recycle the items. When users click on an item, the item is selected and put in front of the player camera. Then user proceeds to click on a bin which he choose to recycle the item. If the item is properly recycled, user gets a point and vice versa, gets minus points if the item is not properly recycled. The points are here just to make the game more exciting.
Now, when we started making the project, we knew this is not going to be a straightforward development.
When we tried to first run our app, we only got a black screen. Then we found out you need to tick some options in Unity Editor to activate the AR Core. We were wondering why it's not activated by default when downloading the AR Core packages.
The worst thing of all was the build time. Since the most powerful laptop from our group got into an unfortunate accident we were forced to make this app on a Macbook. Even though we've been building the app on a Macbook with a M2 chip which is quite powerful by itself, the built times took like 7 minutes. This makes the development really frustrating since if we want to try to make a small change to see if it works, we have to wait for the whole built to finish and copy the application to the phone again and again.
After we managed to get the app running, the camera had troubles recognizing the plane properly. Our fix was to set the detection just to horizontal which resulted in better tracking and object placing.
The worst thing of all was the build time. Since the most powerful laptop from our group got into an unfortunate accident we were forced to make this app on a Macbook. Even though we've been building the app on a Macbook with a M2 chip which is quite powerful by itself, the built times took like 7 minutes. This makes the development really frustrating since if we want to try to make a small change to see if it works, we have to wait for the whole built to finish and copy the application to the phone again and again.
After we managed to get the app running, the camera had troubles recognizing the plane properly. Our fix was to set the detection just to horizontal which resulted in better tracking and object placing.
On this assignment, we also worked on the code together at the campus as we deemed the assignment was too small to split up.
GitHub Link: https://github.com/XRD-X1/A2-AR-Trash-Education?fbclid=IwAR305j2QmBZ1nOWyHx9G8kgsvbBF6q93TarTiEzCS_F6Sz2mV6zLQ8nqxlE
Youtube link: https://youtu.be/anbGYYCnoLM
Authors of this blog: Mircea Dobre, Jan Vasilcenko, Jan Lishak, Patrik Horny
Comments
Post a Comment