• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Basic Physics Engine - Stage Edge Collision, with rebound / Gravity and Friction

    How To... ?
    6
    41
    12.5k
    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.
    • SkulptureS
      Skulpture Izzy Guru
      last edited by

      http://www.creativeapplications.net/processing/kinect-physics-tutorial-for-processing/

      The video in this is amazing!

      Graham Thorne | www.grahamthorne.co.uk
      RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
      RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
      RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

      1 Reply Last reply Reply Quote 0
      • DusXD
        DusX Tech Staff
        last edited by

        Hmm.. I need a connect.

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • Isadora Add-ons: https://troikatronix.com/add-ons/
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

        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 0
        • MichelM
          Michel Izzy Guru
          last edited by

          @DusX

          Or a Persee for the long run. I have ordered one.

          Best Michel

          Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

          1 Reply Last reply Reply Quote 0
          • DusXD
            DusX Tech Staff
            last edited by

            too late for the indiegogo campaign

            Troikatronix Technical Support

            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            • Isadora Add-ons: https://troikatronix.com/add-ons/
            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

            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 0
            • MichelM
              Michel Izzy Guru
              last edited by

              yep, it finished a few days ago.

              Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

              1 Reply Last reply Reply Quote 0
              • MarciM
                Marci
                last edited by

                @DusX if you weren't in Canada I'd send you over one of mine...!

                rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                Warning: autistic - may come across rather blunt and lacking in humour!

                1 Reply Last reply Reply Quote 0
                • DusXD
                  DusX Tech Staff
                  last edited by

                  Where are you @Marci ?

                  Troikatronix Technical Support

                  • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                  • Isadora Add-ons: https://troikatronix.com/add-ons/
                  • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                  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 0
                  • MarciM
                    Marci
                    last edited by

                    Near Leeds, UK. @skulpture - I tried that Processing sketch this evening. Sadly many outdated modules and deprecated functions so a bit of rewriting to get it running with the modern replacements - not quite there yet. I want to use it to get the polygon vectors for the kinect's silhouette - that could then be handed to Izzy's JS actor via OSC, and give us the missing complex polygon mapped to Kinect user outline.

                    rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                    Warning: autistic - may come across rather blunt and lacking in humour!

                    1 Reply Last reply Reply Quote 0
                    • SkulptureS
                      Skulpture Izzy Guru
                      last edited by

                      Ah that's a shame. I was working my way through it too. Got the first example working. Basic rgb/ir one.

                      Graham Thorne | www.grahamthorne.co.uk
                      RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                      RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                      RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                      1 Reply Last reply Reply Quote 0
                      • DusXD
                        DusX Tech Staff
                        last edited by

                        @skulpure With nimate can you get a set of xy points for body parts and joints?

                        Troikatronix Technical Support

                        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                        • Isadora Add-ons: https://troikatronix.com/add-ons/
                        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                        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 0
                        • MarciM
                          Marci
                          last edited by

                          Yep. xyz for head, neck, l-shoulder, r-shoulder, l-elbow, r-elbow, l-hand, r-hand, torso, l-hip, r-hip, l-knee, r-knee, l-foot, r-foot. That's the 'basic' skeleton from NIMate1. NIMate2 adds in finger joints and a few other bits n' bobs.

                          rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                          Warning: autistic - may come across rather blunt and lacking in humour!

                          1 Reply Last reply Reply Quote 0
                          • DusXD
                            DusX Tech Staff
                            last edited by

                            Thats great, thanx.

                            Troikatronix Technical Support

                            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                            • Isadora Add-ons: https://troikatronix.com/add-ons/
                            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                            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 0
                            • MarciM
                              Marci
                              last edited by

                              Here you go... as you can see, typical stick figure configuration & semi-typical usage. Zip file contains patch, user actor from elsewhere on the forums, & .3ds objects for the 3D dummy.426e76-kinect.jpg 96ffb8-archive.zip

                              rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                              Warning: autistic - may come across rather blunt and lacking in humour!

                              1 Reply Last reply Reply Quote 0
                              • MarciM
                                Marci
                                last edited by

                                @skulpture - after spending 2 nights trying to get the processing sketches going with naff all success other than the first step, I finally stumbled across a forum post by the author of the article, which eventually led me to this: https://github.com/msp/CANKinectPhysics

                                Updated for Processing 2.11 - Just tested it, and works perfectly once you've got the necessary libraries in place:
                                • blobDetection
                                • box2d_processing
                                • SimpleOpenNI
                                • toxiclibscore*
                                • toxiclibs_p5*
                                • verletphysics*
                                • volumeutils*
                                • colorutils*
                                • audioutils*
                                * - part of ToxicLibs020 which you'll have to download from https://bitbucket.org/postspectacular/toxiclibs/downloads/, and shunt the folders above from within the download into the libraries folder in Documents/Processing (if you're using everything from default locations).
                                IMPORTANT: You MUST be using Processing 2.x, not 3.x!!

                                rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                                Warning: autistic - may come across rather blunt and lacking in humour!

                                1 Reply Last reply Reply Quote 0
                                • MarciM
                                  Marci
                                  last edited by

                                  PS: If you haven't discovered KVL_Kinect_tracker_v20 it's worth a look. Allows you to subtract layers from the Kinect Depth Image, and output the resultant blobs for the target depth (i.e.: that where the body is) via OSC.

                                  I've tried it but it appears flakey on my MBP... locks up after 30 seconds or so - I suspect this is due to USB3 and the app not being updated to limit the bandwidth to USB2, so if you've got a _non-USB3_ MBPro, this _should_ work to get a body outline into Izzy that can drive a pile of shapes actors or similar. (I'll remember to bring my 2011 MBPro home from work at some point to test this theory).

                                  rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                                  Warning: autistic - may come across rather blunt and lacking in humour!

                                  1 Reply Last reply Reply Quote 0
                                  • SkulptureS
                                    Skulpture Izzy Guru
                                    last edited by

                                    KVL! OMG! Love it.

                                    Graham Thorne | www.grahamthorne.co.uk
                                    RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                                    RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                                    RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                                    1 Reply Last reply Reply Quote 1
                                    • MarciM
                                      Marci
                                      last edited by

                                      @Skulpture - Kinect Interactive Curtain in Processing 2, with Syphon Output & adjustable Depth Threshold (see next post)

                                      https://www.youtube.com/watch?v=u7s_dlXzR_I

                                      rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                                      Warning: autistic - may come across rather blunt and lacking in humour!

                                      1 Reply Last reply Reply Quote 0
                                      • MarciM
                                        Marci
                                        last edited by

                                        oops - missed tilt/down out 4f0e4a-kinectfabric.zip

                                        rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                                        Warning: autistic - may come across rather blunt and lacking in humour!

                                        1 Reply Last reply Reply Quote 0
                                        • SkulptureS
                                          Skulpture Izzy Guru
                                          last edited by

                                          @marci this is amazing!

                                          Graham Thorne | www.grahamthorne.co.uk
                                          RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                                          RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                                          RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                                          1 Reply Last reply Reply Quote 0
                                          • SkulptureS
                                            Skulpture Izzy Guru
                                            last edited by

                                            I got this working! Very cool.

                                            Syphon wouldn't work though - got some errors I did understand. 

                                            af237b-screen-shot-2015-11-19-at-10.10.03.png

                                            Graham Thorne | www.grahamthorne.co.uk
                                            RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                                            RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                                            RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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