View Single Post
Old 10-02-2012, 03:02 PM   #66
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by twobob View Post
pretty sure its only a two touch interface. so the brush size stuff may not work as expected. opacity via a dropdown would also be fine. nice one mate.
Two touches. And rotation is not reliable (only resizing). The corner coordinates can get swapped while rotating when both touches cross the same X or Y position. I have some (unfinished) code that corrects for this quite reliably using velocity tracking instead of positional tracking, swapping corners as needed to maintain rotational continuity. That was a script though, so I need to convert it to C and complete it. Resizing is easy though -- just measure a diagonal of the bounding rectangle of your two touch points.
geekmaster is offline   Reply With Quote