Welcome

This is a blog sharing what i have learn and experience from my internship in A*Star IHPC
- Zac Kwan

Thursday, December 9, 2010

Day 47 - Adding gesture and colorpicker

As the layout of the iPad and iPhone is complete, we started working on the functionally today.

We spend the 1st of the day getting the color picker to work. Colorpicker is a technique to detect the object that is being touch by using unique color assigned. Was able to get it working without some depth buffer at first. But without depth buffer this would cause the object behind another object to never get selected which will not look nice. After that manage to solve it by enabling depth buffer but need to clear it before drawing again.

After that we went on to continue adding the gesture of rotation, translation and scale to the individual node. Rotation wasn't much of the problem, but translation doesn't seems to work well. Alex is still trying to fix the translation issues.

No comments:

Post a Comment