Sunday, January 18, 2009

Week 14 @ IHPC

Monday 19 Jan 2009

We left with the last part for whiteboard application  and you hock is working on it. so to make full use of the time, I start to research on 3D modeling in quartz composer. and found this kineme 3D 1.1 which can help to do 3D modeling in quartz composer. So we downloaded the software and tried on the examples given. he examples is not exactly wad I looking for. However it does give some help to my research. 

Tuesday 20 Jan 2009

Continue working on the 3D modeling and explore on other software that can do 3D modeling. We also did the article about our internship at IHPC for newsletter.  We also did helped in testing of the whiteboard application. There are still some errors have not been handle properly. Due to the multi-user mode which required more handler so that the application would be able to detect user dragging the marker.  

Wednesday 21 Jan 2009

Leonard and I found out that Adobe Flex could also do 3D modeling, provide we need to have a 3rd party developer, a software that can load 3D models into flex applications.  However, we  still not very sure that would this software able to load 3D models properly and the network connection is stable. Therefore, we are still finding out more about this software.


Thursday 22 Jan 2009

Continue working on the research on 3D modeling and Adobe Flex.

Friday 23 Jan 2009

Wilson is away for medical check up

We got back the article due to the article was badly done and we had to redo it. After lunch, Kevin gave some feedback and told you to redo another one. Each of us has to draft out a short article about our experience. Also, we did some spring cleaning in our office.  Kevin also changed our sitting position as we spilt ourselves into two groups to develop two different applications. Kevin taught us about podcast and told us to search for podcast station that we are interested and explain why? 

Sunday, January 11, 2009

Week 13 @ IHPC

Monday 12 Jan 2009

This week is our whiteboard application deadline!!!

Of course we are prepare for that. We just started on the integration of our individual part and testing of the application to make sure that all the parts are working functionally. 


Tuesday 13 Jan 2009

Once we are done with our integration, we demo the application to Kevin. 

After seeing the demo, Kevin gave us some valuable feedback on the application in which the area for improvement. 

The image of the palette is too big 
Pen image area for dragging and drawing is too small
Use a fade in and out for the palette.

Also, we discussed on the multi-user part as we meet some difficulty on development for multi user. Time line for the project is running tight as we have another application to be complete before our internship end. 

After the discussion meeting, we start working on the changes .


Wednesday 14 Jan 2009

In the morning, we continue working on the changes. for my part, I am doing on the fade in and out of the palette. I used the previous application " 4 player pong" which was done by wilson and i. in that application, we use LFO to make the ball move. However, this time round we would be also using LFO but we will need to set the positioning for the palette to stop. Due to I was unfamiliar with the LFO , wilson help me to do

After lunch, i went back to school for NAPFA test. I got 24 points and silver award. I almost got a GOLD award due to my 2.4km run i am 16 sec more than the Gold timing. 


Thursday 15 Jan 2009

Integration and testing of the new changes to the application.

As for my part, during the integration met some difficulty due the the change of image. From a long rectangle to a square image.  Therefore, the coordinates for the drawing point is different.
How did I overcome that?

I check the size of the image and gave an estimation of the length between the centre of the image to the "dragging point". After a number of testing, I finally got the coordinates. Then, set the dragging area to activate  the drawing when laser detect within the area.

Friday 16 Jan 2009

Got a day off for medical check up. However, still woke up the same timing as usual to go for check up. Headed to CMBP with my girlfriend where her internship company is there too. Its was my first time to CMBP. That was quite a bad experience there, people there is unfriendly and instructions given were "very clear" because instructions is everywhere on the wall. What they did were to say " Read the instruction". Short and sweet!!! :>

They tested my urine, blood, eye, hearing , body and even my teeth. For all the stations, I was great and got PES A which mean that I am very healthy and might be even go for Office Cadet School(OCS) which I always look forward to. However, at the last second station which I need to declare my history of medical. I just told the Medical Officer that after running my foot hurts due to my flat foot. He took a look at it and said " your left foot very serious, I will now down pes you." And from an A to a C, at that moment i was quite sad, i wanted to get into OCS and become an officer and get the sword crafted with my name on. Cool right?

Head to last station which was the IQ test, that was a boring test which can take up to an hour. Initially, was quite okay and the question is quite direct. After a few tests, questions became more indirect so I answer it quickly without any second thought. 

After whole session of testing, I went for lunch with my girlfriend and headed back to office after that. I told them my medical check up result and I was quite sad about that. All of them said that I am crazy , so many people looking forward to getting my pes and yet I am so fortunate to get it. They explain to me the pros and cons about being an officer and from that I started to feel better and accept the fact.

After that, we help you hock to do some testing on the multi user. But there are still some errors which we are unable to handle. Therefore, You hock continue to debug the applications.



Week 12 @ IHPC

5 January 2009    Monday

1 more week to deadline of our whiteboard application.

Most of our main functions were completed. According to last Friday's discussion meeting, we came out with 2 more new task. 
  • Drag and draw within the drawing point of the image
  • Drag image out from palette
Since I had completed with my part, therefore I would be working on the drag and draw within drawing point of the image. You hock would be in charge of the dragging images from the palette. I actually come out with some algothrim to do the calculation of the image which will allow the user to do drag and draw. 

Basically, I would need to get the coordinates of the bottom left corner where the drawing area is located. And of course the coordinates of the center of the image. So that I could calculate the distance between the two coordinates, from that I could tell which is the drag and draw part and the dragging part. Using the laser coordinates to check on the laser location and make the coordinates center and the bottom left corner of image to follow the laser.

However, there is still some part I did not handle properly. Therefore, the dragging is not very accurate. Luckily, Ming Hong came over to help me with that which shorten my progress timing so that I can continue with my other stuff.

6 January 2009    Tuesday

I start working on multi control of images so that one laser could drag and draw more than one image. Also, an image could be drag and draw by one or more laser .

We went for early lunch at Sim Lim Square because Wilson want to build a new PC. So we went there to buy the PC's parts. Headed back to the office and build the PC. 

7 January 2009    Wednesday

In the morning, I continue working on the multi control of the images. Initially, I create another new image and 2 more Math to store the second image coordinates. While the display seen to be alright but when dragging came in. Only one image was working properly and another seems to be a display image. So, I made changes to the codes and did plenty of testing. The problem was still there. Then, I notice that the second image coordinates were not recorded at the first place. At that moment, I found out that the positioning of the second image was set by me and no changes were made after that. 

Therefore, I set if else case to check on the Math.

if(inputNumber[5] == 0 && inputNumber[6] == 0)
{
//there is no previous coordinates
//image = laser's coordinates
}
else
{
//there is previous coordinates
// image  = previous coordinates
}

With that, the part is solved.

After lunch, we went for shooting of the Lightdraw's video at level 15. Wilson, Leonard and You Hock join me for the shooting. While they were there to give me support as audience and I am the only one who is the "actor", Cheng Ting is the "Director" and camera man and Ming Hong helping out to set up the Lightdraw application using iGlasses. The shooting was fun although there is alot of NG due to my mistake. So I had to retake again and again till I am so familiar with that. 







8 January 2009    Thursday

We start integrating our parts together so that we can do an Alpha version to show Kevin. At the beginning, we find it quite hard to integrate together, as all of us have our unique way of coding it. Well, and most of them find my coding the most unique. They would always ask me what is this part doing and that part doing. But the integration was fine after all.

After lunch, shooting part 2. Cheng Ting had all of us to involve in the shooting to show that lightdraw can be multi-user. We demo on our applications which were the 4 player pong and puzzle game. 

9 January 2009 Friday

Integration & Testing 

Still working on the integration of our application and testing of the application each time one part was added. So that we could ensure that the part that was integrated could work. 

Thursday, January 1, 2009

Week 11 @IHPC

Monday 29 /12 /2008

Back to work after a long weekend! 

Kinda lost with my work :>

Well, I still manage to refresh my mind and get some work done. Completed trashing image into the trash bin. However, I encountered one problem which was the image would reappear when laser lock off the image at the trash bin. 

After lunch, I researched on the web to look for help and looking at my program to check if there is any coding error.


Tuesday 30 / 12/ 2008

In the morning, I continue debugging the error. 

While debugging my application, I noticed that I actually set a boolean to be true on the top of the coding. As we know, Quartz composer is running a loop which would keep on running the coding again and again till the application stop. That is the caused of the image reappearing. Everything went fine after I removed that line of codes.

After that, Wilson and I integrated our part together which were the dragging and trashing part and the idling part. Initially, the program was not running smoothly as wrong value was sent out. We patch the value to be send properly and check if all requirement were set properly. And the program went smoothly. We did several testing to ensure everything was alright.

 

Wednesday 31/12/2009
I did not report to work due to Grandfather passed away.

Thursday 1/1/2009
New Year 

Welcome 2009!

Friday 2/1/2009

Still having holiday mood ? Guess so... Having so much holiday for the past two weeks. 

In the morning, we had a short meeting with Kevin. Basically, we showed him the work we had done for the whiteboard application during the past two weeks. As for my part, I was in charge of the dragging and trashing of the image and the idling part with Wilson. My trashing part hit some error when demoing to Kevin. The image was not able to trash when it was within the trashing error.  Therefore, after the demo, I continue my work to solve that problem.  

I notice there was a conflict between the trashing and idling as both parts were required to remove the image. So what Wilson and I did were to set a new counter to check is the image is remove. As long is one of them return true for removed, the program would not be able to enter the checking part again which mean to say that once image removed, it would not be appear again.

After lunch, we had a short discussion meeting between us. We discussed on the remaining parts left to be complete. Also, assigned new task to those who had completed their task. Wilson and I research on the how to allow drawing when laser is within the drawing area. While Leonard and You Hock continue to complete with their part which is the change of pen color. Once, they completed their part, we would integrate our parts together.