Touch Screen & Isadora


  • Tech Staff

    Hi All,

    As most of you know my day job is at a museum. I uses isadora a lot for interactives but also use an array of other media servers. I have recently been looking at touch screens for media servers (brightsign) but then I thought - why don't I just try and make the 'stage' interactive?
    What I would like to do:
    Have isadora play a video full screen 1920*1080 on a touch screen. The have graphic overlays on top of the video such as [NEXT VIDEO] [NEXT CHAPTER] etc etc. Anything really.
    The only way I can think of doing this is with the stage mouse watcher but its not perfect.
    How else can I get an touch screen to work with isadora? 
    Note: I am not using a control panel interface. This will be on-top of the stage. 


  • And why would the stage mouse watcher not work?

    Best Wishes,
    Mark

  • Tech Staff

    I just can't think of 'smooth' way of doing it.

    As someone presses the screen I am guessing would have to do a very quick calculation:
    If mouse click is in 0-25% X axis and 62-78% Y axis then do A? Does that make sense?

  • Tech Staff

    @Skulpture

    I did a toucscreen Mockup once, you can try it if you like adapt it for your use. You have to put your own pictures or movies in it to see how it works. The students that wanted something like that did not need it at the end thats why its not finish and not to precise yet. I did it about 3 years ago.

    Best Michel
    04fc49-touchscreenmockup.izz


  • Tech Staff

    In my patch the stop pause play menu should only appear when you get near the bottom with the mouse, you can change it to click anywhere on the screen and then let the menu appear.



  • "If mouse click is in 0-25% X axis and 62-78% Y axis then do A? Does that make sense?"

    That's the way I'd do it. But you could also create a user actor to generalize this. By taking a graphic and placing it somewhere, and within the same user actor, looking for a click in the object.
    I made you an example. There are two buttons picture displayed by two user actors. You can adjust the position and size in each user actor. Click the button the stage and _voila_ a trigger is sent.
    The only flaw with this quickie is that you must adjust the width and height inputs of the User Actor to compensate for the aspect ratio of the source image. This is because the 'keep aspect' input of the Projector actor is turned off. (You need to leave 'keep aspect' turned off to ensure that the percentages set for the width/height/position given to the Projector match up with those output by the Stage Mouse Watcher.)
    Best Wishes,
    Mark

    5767a3-stage-button-click.zip


  • Tech Staff

    You guys are the best... I am excited to look at these ideas!

    *love*


  • I enjoyed this topic! I'm looking for ways to use this I didn't even think it was possible.

    Thanks too!


  • Here is a button I have used that uses a movie and puts a flash and sound feedback via MIDI 67c0fe-movie-button.izz



  • Just for future "what if's", it would be great to have an object have its own click recognition without having to use this method. This would particularly be useful when having a button that is shaped irregularly. Using the current system, A circle for example, would have sections of non-object that would respond to a mouse click. This has been a small issue for example when employing buttons on a very large screen where the screen might be multiple feet in length and height. This was the case with a recent lobby project where the touch screen was 12 feet long.


  • Tech Staff

    I know what you mean.

    12ft - that's a huge touch screen! 


  • for a circle you could calculate the straight line distance from the touch point to the  centre of the circle, and check if it is less than the radius of the circle, its slightly more math than for a rectangle check but not much more.


  • Tech Staff

    A little update:

    Got a decent working prototype working going. I am using a really old touchscreen - not even sure what tech it uses.
    For some reason it only see's about 80-85% of the pixel space (screen size) so it's not great. This is not an izzy fault. I think the hardware can only see up 1024*768 or something. 
    I will post a short demo when I get the chance :)


  • This is where I'd love to see some form of transparent web-browser overlay window actor which gives you a DOM so that jquery-like events can be brought into play, pref via WebKit... something to abstract out the need for more complex maths calculations, with the stage abstracted out to viewport.



  • I used these drivers for a permanent installation with two touchscreens and a isadora button interface. worked like a charm

    http://www.touch-base.com/

  • Tech Staff

    Thanks @Fubbi.


Log in to reply
 

Looks like your connection to TroikaTronix Community Forum was lost, please wait while we try to reconnect.