Closed kiwistrongis closed 10 years ago
Roughly how many touches?
This depends on if the default TouchDraw.SMOOTH is used.
The drawing code could be changed to use a seperate PGraphics, as the slowdown is due to redrawing them every single frame, including the path.
Redraw of the touchpoints would then only need to occur after touchDown/touchUp, and maybe to keep fixed length paths.
This should be tested on the 60" touchscreen or the Evoluce to see if it is a major performance problem and should be prioritized.
This isn't a big issue, I had 20-30 touches on the screen. In the future, however, I do want to add code to reduce the graphics footprint when there are large number of touches.
We will also be making touches prettier.
Half-done as of commit 4d12e88ce6bf594ec1f7ba0b5f23775d93cfa820. Touch trails for TouchSource.TEXTURED are still in design.
[Accidentally closed...]
Marking as closed, making new issue for TouchDraw.TEXTURED's trails
Large numbers of touches causes performance issues I would recommend imposing an upper limit on the number of touches.