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