• 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] Fish Eye Actor for V3?

    How To... ?
    actors fisheye
    6
    10
    1705
    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.
    • Whatnao
      Whatnao last edited by Woland

      Hello good people!
      I'm sure something similar has been discussed in the past but I couldn't find anyone posting about the fisheye actor that was available on v2 and not for v3. I assume it is because of 32 bit to 64 bit change. I tried QC Fish Eye, but that is not the same. The old version could change positions as well as amount of distortion. I used mouse watchers to control these qualities and it worked nicely moving them to the music when I was VJing. Perhaps this effect became passé and nobody use it anymore, but if anyone know a similar plugin or how I can achieve a similar effect, please let me know.
      Thank you!

      bonemap J 2 Replies Last reply Reply Quote 0
      • bonemap
        bonemap Izzy Guru @Whatnao last edited by

        @whatnao

        Hi,

        You can create a fisheye lens effect with the 3D Stage Orientation actor. It has a FOV property that simulates a camera lens. There are other camera controls there as well. It requires a 3D object - perhaps 3D Quad or 3D Projector with a Virtual Stage routed to it. I know it is not as simple as a pass through video actor, but just so you know it is there.

        Kind Regards

        Russell

        http://bonemap.com | Australia
        Izzy STD 4.2 | USB 3.6 | + Beta
        MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
        Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
        A range of deployable older Macs

        Whatnao Woland 2 Replies Last reply Reply Quote 1
        • Whatnao
          Whatnao @bonemap last edited by

          @bonemap Thank you for your reply! I'm sorry for delayed response. I had upgraded my computer and doing other work, completely forgot that I asked this question. I appreciate your advise. I'm not familiar with 3D Stage Orientation but if I understand you correctly, this actor won't work as fisheye effect unless I have 3D Quad or 3D Projector, right? So it won't work to make a image projected on normal 2D screen into fisheye lens like image?

          Woland 1 Reply Last reply Reply Quote 0
          • Woland
            Woland Tech Staff @Whatnao last edited by

            @whatnao

            GLSL Shaders can do this. A quick bit of Google-fu got me this one (which shouldn't be used in any official work because it doesn't list any sort of license): https://www.shadertoy.com/view/4s2GRR

            The first input is your fisheye-ness basically, and strangely, you'll need to flip the image 180 degrees because it makes it go upside down for some reason.

            //Inspired by http://stackoverflow.com/questions/6030814/add-fisheye-effect-to-images-at-runtime-using-opengl-es
            void mainImage( out vec4 fragColor, in vec2 fragCoord )//Drag mouse over rendering area
            {
                vec2 p = fragCoord.xy / iResolution.x;//normalized coords with some cheat
                                                                         //(assume 1:1 prop)
                float prop = iResolution.x / iResolution.y;//screen proroption
                vec2 m = vec2(0.5, 0.5 / prop);//center coords
                vec2 d = p - m;//vector from center to current fragment
                float r = sqrt(dot(d, d)); // distance of pixel from center
                float power = ( 2.0 * 3.141592 / (2.0 * sqrt(dot(m, m))) ) *
                            (iMouse.x / iResolution.x - 0.5);//amount of effect
                float bind;//radius of 1:1 effect
                if (power > 0.0) bind = sqrt(dot(m, m));//stick to corners
                else {if (prop < 1.0) bind = m.x; else bind = m.y;}//stick to borders
                //Weird formulas
                vec2 uv;
                if (power > 0.0)//fisheye
                    uv = m + normalize(d) * tan(r * power) * bind / tan( bind * power);
                else if (power < 0.0)//antifisheye
                    uv = m + normalize(d) * atan(r * -power * 10.0) * bind / atan(-power * bind * 10.0);
                else uv = p;//no effect for power = 1.0
                vec3 col = texture(iChannel0, vec2(uv.x, -uv.y * prop)).xyz;//Second part of cheat
                                                                  //for round effect, not elliptical
                fragColor = vec4(col, 1.0);
            }

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

              I know it probably isnt a genuine fish eye effect but you can achieve a similar distortion just using Issy Map.

              This example uses a 3x3 grid with curved paths. I'm sure with a bit of time and perhaps some more mapping points you could get something looking pretty good using this method. This one looks a bit too rectangular to me still but I'm sure with a bit of care you could get it there.

              2014 MBP Mojave 10.14.6 OS with 16GB, 2.5Ghz i7 quad core, Intel Iris Pro 1536 & Geforce GT 750m 2GB - Izzy 3.0.8
              Gigabyte Brix Windows 10 with 32GB, i7-6700 quad core, 4GB GeForce GTX 950 - Izzy 3.0.8
              Based in Manchester, UK.

              1 Reply Last reply Reply Quote 1
              • Kathmandale
                Kathmandale last edited by

                Having just looked at the wikipedia page for Fisheye Lenses there's a break down of the maths for the mapping functions of different lenses towards the bottom. Might make a good GLSL project (bit beyond my high school maths I think).

                2014 MBP Mojave 10.14.6 OS with 16GB, 2.5Ghz i7 quad core, Intel Iris Pro 1536 & Geforce GT 750m 2GB - Izzy 3.0.8
                Gigabyte Brix Windows 10 with 32GB, i7-6700 quad core, 4GB GeForce GTX 950 - Izzy 3.0.8
                Based in Manchester, UK.

                1 Reply Last reply Reply Quote 0
                • J
                  jandraka @Whatnao last edited by jandraka

                  @whatnao

                  Hi,

                  I have made two FFGL 2.0 plugins with Vuo app. They are built from simple nodes, without further complications. One of the plugins uses a warping mesh from Paul Bourke who has a lot of information on his website.
                  I hope this helps.
                  Best

                  Fisheye.bundle.zip

                  Fisheye.PaulBourke.bundle.zip

                  MBP M2 Max 32 GB. MacOS 13.7.3 Isadora 3.2.6 - 4.0.7

                  CitizenJoe 1 Reply Last reply Reply Quote 2
                  • CitizenJoe
                    CitizenJoe @jandraka last edited by

                    @jandraka said:

                    Vuo app

                     Am I correct in thinking that these would be MAC only?

                    Cheers,

                    Hugh

                    Hugh in Winnipeg - All test machines, Win10/11 Pro, 64 bit, OS SSD and separate data SSD.
                    Dell 7560, i9 11950H, 64 gigs, NVIDIA RTX A4000 w/8 GB GDDR6

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jandraka @CitizenJoe last edited by

                      @citizenjoe

                      That is. Only MAC. Sorry for not clarifying.

                      MBP M2 Max 32 GB. MacOS 13.7.3 Isadora 3.2.6 - 4.0.7

                      1 Reply Last reply Reply Quote 3
                      • Woland
                        Woland Tech Staff @bonemap last edited by Woland

                        @bonemap said:

                        You can create a fisheye lens effect with the 3D Stage Orientation actor. It has a FOV property that simulates a camera lens. There are other camera controls there as well. It requires a 3D object - perhaps 3D Quad or 3D Projector with a Virtual Stage routed to it. I know it is not as simple as a pass through video actor, but just so you know it is there.

                        I got a question yesterday about how to do dome projections and it turns out that fisheye effects are a great solution for that, which led me to re-discover this topic. 

                        I'm performing this act of thread necromancy because I've made an example file based on what the ever-brilliant @bonemap wrote here: fisheye-using-3d-actors-2023-11-17-3.2.6.zip

                        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 2
                        • First post
                          Last post