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

    Quad distort?

    How To... ?
    6
    13
    3.0k
    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.
    • fubbiF
      fubbi
      last edited by

      I am using alpha mask. Its a black and white (processed in processing) kinect depth map coming in over syphon. Its not possible to put the kinect in a perfect position so I need to basically keystone the incoming image.

      F

      Mac M2 Ultra, 64gb — Berlin

      1 Reply Last reply Reply Quote 0
      • primaldivineP
        primaldivine
        last edited by

        Hi Fubbi
        Here is one way... a bit clumsy perhaps but if its all you need, will work on gpu stream.
        See screengrab attached.

        IR Keystone FFGL plugin.
        http://visution.com/new-freeware-ffgl-plug-ins-for-multi-screen-keystone-correction

        If I think of a better way I'll post again.
        Primald

        d225fd-irkeystone-ffgl-plugin.png

        Pro-User Latest Beta - MacBook Pro i7 2.66GHz SSD
        www.jamiegriffiths.com Arctic Canada
        www.chickweedarts.com

        1 Reply Last reply Reply Quote 0
        • CitizenJoeC
          CitizenJoe
          last edited by

          I found them here:

          http://visution.com/new-freeware-ffgl-plug-ins-for-multi-screen-keystone-correction

          Windows users look for the 1.1 version in the comments at the bottom of the page.


          Hugh in Winnipeg - All test machines, Win10 Pro, 64 bit, OS SSD and separate data SSD.

          1. new laptop: Dell 7560, i9 11950H, 64 gigs, NVIDIA RTX A4000 w/8 GB GDDR6
          2. old desktop: Dell T5500 2009, Dual Quad Core Processor E5530, 12 gigs, 2x Radeon 5750... Still works well!
          1 Reply Last reply Reply Quote 0
          • primaldivineP
            primaldivine
            last edited by

            oops that was aan old link. Here is a better one

            http://visution.com/new-freeware-ffgl-plug-ins-for-multi-screen-keystone-correction

            Pro-User Latest Beta - MacBook Pro i7 2.66GHz SSD
            www.jamiegriffiths.com Arctic Canada
            www.chickweedarts.com

            1 Reply Last reply Reply Quote 0
            • fubbiF
              fubbi
              last edited by

              thanks!

              There is a lot of stacking of cameras, kinects and projectors going on these days. Would you agree that keystoning an image is a fundamental function and deserves to go on the feature request list? 
              F

              Mac M2 Ultra, 64gb — Berlin

              1 Reply Last reply Reply Quote 0
              • FredF
                Fred
                last edited by

                Here is a GLSL based QTZ patch it uses a vertex shader to do the warp.

                http://vdmx.memo.tv/files/vdmx/msa_Quad%20Warp.qtz.zip
                In terms of stacking cameras and projectors a warp is far from sufficient especially when dealing with depth. Take a look at some of the camera projector calibration work- it all revolves around calculating camera and projector intrinsics and extrinsic and then creating a a GL matrix to warp the image- it does a lot more than a quad warp it takes care of lens distortion and if a depth camera is used it can calculate depth offsets for projection. If you just use a quad warp for this you will never have good tracking or matching- ie you will spend ages matching up the warp for one point and then it is off for others.
                A comprehensive calibration toolkit would be amazing and there are a few getting around but nothing very easy to use yet. When there is a simpler system if would be worth investigating porting it to Isadora. I think interactive projection mapping is something many izzy users would be interested in- but it would have to be a good solution.

                http://www.fredrodrigues.net/
                https://github.com/fred-dev
                OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

                1 Reply Last reply Reply Quote 0
                • fubbiF
                  fubbi
                  last edited by

                  @fred thanks

                  there are quite a few tools using open frameworks and a checkerboard pattern. we need something like that for isadora. there is probably no way getting around walking the stage and setting calibration points.
                  my crude version is overlaying the incoming image on the projection and zooming/panning, but its very rough. the keystoning will help a lot I hope.

                  Mac M2 Ultra, 64gb — Berlin

                  1 Reply Last reply Reply Quote 0
                  • ioioI
                    ioio
                    last edited by

                    You can use FFGLPlugin of Resolume with isadora they use GPU and work well.
                    Just install resolume and copy the VFX plugins files of resolume to your freeframe folder.
                    You have a keystone, a keystone Crop and a Keystone Mask.
                    It works on PC, haven't tried with a Mac, but could work also.

                    1 Reply Last reply Reply Quote 0
                    • ioioI
                      ioio
                      last edited by

                      and a Crop,..in fact a lot of resolume plugin works.

                      1 Reply Last reply Reply Quote 0
                      • FredF
                        Fred
                        last edited by

                        @fubbi

                        I have a pretty good system I have used a few times in OF. The calibration routine is pretty easy, it needs to happen every time the projector and or camera is moved. You need to use a chessboard pattern but it only takes a few minutes to do- it is largely automated.
                        It is not so much hassle to get this work with syphon in and out- if I get the time and motivation in the coming week ill give it a go and make up a corresponding Isadora patch.

                        http://www.fredrodrigues.net/
                        https://github.com/fred-dev
                        OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                        Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                        Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

                        1 Reply Last reply Reply Quote 0
                        • fubbiF
                          fubbi
                          last edited by

                          @Fred sweet!

                          Mac M2 Ultra, 64gb — Berlin

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