Another week had started, and we are still having trouble make the puzzle application multi-user and so we went on integrating the application to 'adapt' to the new lightdraw codes that Ming Hong had edited and that took us almost a day to do it as we had to change quite alot of codes hence little time for making it multi-user.
11 Nov
Ming Hong is on leave today so we really had a hard time trying to implement multi-user. First of all, we had difficulties understanding the function that Ming Hong had written though it already had comments that shows what each code does but no ones understands it. When Kevin came for an update we had briefly explain our current problems and the possible solutions which at the end of the day, we realised that it is not workable. Kevin also briefed us on what we will be doing for the next few months. Ryan and Wilson will be working on lightdraw applications using quartz composer whereas for Leonard and I will be working on the 2 x 3 tile display (orion). He also demoed to us what the quartz composer can do and serious the graphics is really cool.
12 Nov
Things wasn't going well today. The multi-user doesn't seem to be working though Ming Hong had explained how his function works. As for the other group, he successfully integrated multi-user but is was only for 2 paddles. Had tried quite a number of ways to integrate it but had no results.
13 Nov
Kevin gave us more details on what Leonard and I will be working on. Basically, we had to integrate lightdraw to work on the tile display. So told by Kevin, we will be using writing an application to make the remote desktop to listen to the OSC packets from lightdraw to control the X11. Hence, we had to decide on the placement of the camera, ensure that OSC could control the X11 and also integrate lightdraw into the 3d application.
After lunch, Bernard, the on in-charge of the 2x3 display brought us up to the server room to take a look that the architecture of the servers and we had a lesson on how it works. Soon after, we had continued on multi-user for the puzzle app and after much struggle we finally could display the rotation corners when "mouse-over" but we couldn't rotate and drag and not to say snap it and the deadline is tomorrow!!
14 Nov
Kevin came in the morning and asked for a presentation from the 2 groups. We told him that the multi-user wasn't working well and so he told us to test the application that only run single-user. The presentation doesn't turn out good. Kevin, Harold and Bernard commented on our applications. We had also learn more about LightDraw's ease of use and the visual effects of the applications.
Above is a picture of Kevin testing our application. As soon as we learned our lesson, we went on editing our codes and we found that it was the waitKey the dragging to be "blocky" and the offset causing the inaccuracy of the rotation box. Before lunch, we managed to change the code and update Kevin about it.

During lunch, we were told that we had to give another presentation to Terence and thanks to the lesson learned this morning, the presentation appear to be much better. After the demo, with the help of Ming Hong, we managed to drag and rotated the puzzle for multi-user.
Reflection:
It has been a month since we joined IHPC as interns, this week, I have learned that the new lightdraw code is written in the way to make it work more effectively. I have also learned more about DMX and chromium, their pros and cons and server architecture. I learned the differences between the presentations in school and the presentations at work. Though we had lots of presentations in school, it is different from presentation at work, we not only have to understand we have done inside out but also be prepared for every presentations so as to show professionalism and respect not only to the people listening to the presentation but also to ourself.
No comments:
Post a Comment