• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Save me reinventing the wheel, please! Blob tracking / stage grid / trigger events

    How To... ?
    blob tracking trigger events
    5
    6
    775
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mark_m
      mark_m last edited by Woland

      Hello all,

      Someone must have done this before and would be kind enough to share their patch or to at least tell me the easiest way to do this.

      - Camera mounted on the grid above the stage pointing down.

      - Stage divided into a 4 x 4 grid

      - Blob tracking so that as the 'blob' being tracked moves from one to another of the 16 grid squares an event is triggered (and the previous 'event' stopped).

      (in its most simplistic each square being entered triggers a tone on the scale, so that the performer, as they move about the stage, plays a tune).

      Blob tracking works great, it's the triggering of 16 different events that makes me think there has to be a simple way!

      Thanks a lot!

      Mark (no, not that Mark: he's done this hundreds of times!)


      Intel NUC8i7HVK Hades Canyon VR Gaming NUC, i7-8809G w/ Radeon RX Vega M GH 4GB Graphics, 32GB RAM, 2 x NVMe SSD
      Gigabyte Aero 15 OLED XD. Intel Core i7-11800H, NVidia RTX3070, 32GB RAM 2 x NVMe SSD
      PC Specialist Desktop: i9-14900K, RTX4070Ti, 64GB RAM, Win11Pro
      www.natalieinsideout.com

      DusX R jfg 3 Replies Last reply Reply Quote 0
      • DusX
        DusX Tech Staff @mark_m last edited by

        @mark_m

        well each grid block is defined as having a range of X (X1 thru X2) and a range of Y (Y1 thru Y2). And blob tracking has X and Y.

        So Quad 1 is True if blob X is greater than/or EQ to X1 (lowerValue) AND is lesser than/or EQ to X2 (the greater value).
        AND
        Same relation for blob Y in relation to Y1 and Y2

        If this condition is true for any grid block it will be false for the others (accept for on EQs state.. then it can be true in 2, so don't use or EQ for both).

        So you could write this out in Javascript, or use comparator, or inside range (not ideal because it can't test for Equal).

        I built a user actor for you: 

        dx-xy-within-rect.iua3

        that should work to detect if the blob is inside the defined rectangle. Defining the Rect edges will be the time-consuming configuration step.
        Just send your blob XY to 16 copies of this actor with the ranges setup. (you could automate the divisions, but that probably wouldn't work 

        I made a demo scene that is setup to track the left column of 4 rect grids.

        gridwatcher.izz

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
        • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

        Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

        1 Reply Last reply Reply Quote 1
        • R
          Reinhard @mark_m last edited by

          @mark_m

          you could have asked 2 on 2.

          4x4.izz

          mbp 16", 2021, m1pro, 16gb, 12.6 / 6core trashcan, 11.2 / youngest Izzy

          1 Reply Last reply Reply Quote 1
          • jfg
            jfg @mark_m last edited by jfg

            @mark_m

            Best regards, Jean-François

            • Izzy 3.2.6
            - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
            - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
            Mac OS 10.14.6 (Mojave)
            - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

            • A range of deployable older Macs
              Located in Bremen, Germany
            mark_m 1 Reply Last reply Reply Quote 1
            • mark_m
              mark_m @jfg last edited by

              @jfg @DusX @Reinhard

              Thanks to all of you who replied, demonstrating not only what a supportive community we have here, but also that you can do the same thing in Isadora in many different ways!!

              Thanks, Ryan, for the Javascript based solution: that's where my head was at, but my knowledge was lacking!

              Jean-François, thanks a lot for that eyes (not eyes++) solution. That's the road I'm going to go down, I think. Thanks for the clever maths: I got stuck before with trying to create a unique value for each of the sixteen grid squares. |


              Onwards and upwards! Thank you!

              Intel NUC8i7HVK Hades Canyon VR Gaming NUC, i7-8809G w/ Radeon RX Vega M GH 4GB Graphics, 32GB RAM, 2 x NVMe SSD
              Gigabyte Aero 15 OLED XD. Intel Core i7-11800H, NVidia RTX3070, 32GB RAM 2 x NVMe SSD
              PC Specialist Desktop: i9-14900K, RTX4070Ti, 64GB RAM, Win11Pro
              www.natalieinsideout.com

              1 Reply Last reply Reply Quote 2
              • Woland
                Woland Tech Staff last edited by

                Would love to see some of these solutions uploaded to the Add-Ons Page if anyone has the time :)

                TroikaTronix Technical Support
                New Support Ticket: https://support.troikatronix.com/support/tickets/new
                Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post