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

indirect Zones incorrectly render in the pickBuffer like direct Zones #139

Closed ZachCook closed 10 years ago

ZachCook commented 11 years ago

Instead of rendering into SMTZonePicker's PGraphics in pickDraw, we should have another indirect PGraphics the same way we have one for the normal draw

kiwistrongis commented 11 years ago

Do you have an example of this? Alternatively, can you please clarify reproduction steps?

ZachCook commented 11 years ago

Create an indirect zone with .setDirect(false), then add a child outside of the indirect Zone's bounds (which will not be drawn). It will still be able to be interacted with

kiwistrongis commented 11 years ago

What does being 'direct' mean?

ZachCook commented 11 years ago

It means that the rendering is done directly on the main PGraphics, instead of to the Zones PGraphics that is drawn on the screen as an image/texture (Indirect)

kiwistrongis commented 10 years ago

Fixed by commit a3e2cb0