摘要 |
Techniques for constraining motion of 3D objects displayed on a 2D display interface are described. Touch points are placed by a user on the 2D display interface to manipulate a displayed object. Each touch point is matched with a contact point on the surface of the object. The motion of the object is restricted by adding penalty terms to an energy equation that includes terms that measure deviation between the screen-space location of the touch points and that of their matching contact points. The penalty terms measure deviation from an ideal value. In response to movement of at least one touch point to a new screen-space location, a transformation of the object is determined by applying an algorithm that operates on the energy equation to reduce deviations between the screen-space location of the touch points and that of their matching contact points while also reducing deviation from the ideal value or values set by the penalty term or terms.
|