Geeks With Blogs
Jeff Ferguson Irritating other people since 1967

Despite the publication of the TUIO specification, relatively little information is available regarding some of its implementation details. One such area in which documentation seems to be lacking related to the TUIO coordinate system. Keep the following in mind when working with the TUIO coordinate system:

  • The coordinate system for a TUIO surface has a boundary of (0,0) to (1,1).
  • The (0, 0) origin is at the top left of the surface, and the (1, 1) point is at the lower right of the surface.
  • The X coordinate moves from X=0 at the left side of the surface to X=1 at the right side of the surface.
  • The Y coordinate moves from Y=0 at the top of the surface to Y=1 at the bottom of the surface.
  • Points in between are represented as a decimal value between 0 and 1. This means that the center of the surface is at TUIO point (0.5, 0.5).
  • TUIO coordinates are always relative to the entire display surface and are never relative to a user interface element. If a window, for example, fills a portion of a TUIO-enabled surface, then the (0, 0) coordinate is still at the upper left corner of the entire display surface, not at the upper left corner of the window. TUIO coordinates are, in effect, hardware coordinates.
Posted on Wednesday, June 23, 2010 10:53 PM | Back to top

Comments on this post: The TUIO Coordinate System

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Jeff Ferguson | Powered by: