vialab / SMT

Simple Multi-Touch (SMT) Toolkit
http://vialab.science.uoit.ca/smt
GNU General Public License v3.0
43 stars 18 forks source link

Improve Touch Rendering #138

Closed kiwistrongis closed 10 years ago

kiwistrongis commented 11 years ago

Large numbers of touches causes performance issues I would recommend imposing an upper limit on the number of touches.

paluka commented 11 years ago

Roughly how many touches?

ZachCook commented 11 years ago

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.

kiwistrongis commented 11 years ago

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.

kiwistrongis commented 11 years ago

We will also be making touches prettier.

kiwistrongis commented 10 years ago

Half-done as of commit 4d12e88ce6bf594ec1f7ba0b5f23775d93cfa820. Touch trails for TouchSource.TEXTURED are still in design.

kiwistrongis commented 10 years ago

[Accidentally closed...]

kiwistrongis commented 10 years ago

Marking as closed, making new issue for TouchDraw.TEXTURED's trails