• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    Prevent sawtooth lines when mapping

    How To... ?
    5
    13
    1690
    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.
    • G
      Gaspar last edited by Gaspar

      Hi there,
      Our graphic designer did a real good job in creating a very nice animation. It is in Full HD and we've tried both HAP and JGP 75%. I do a quite simple mapping, just adjusting cornerpins and several stright lines in the original video, become a sawtooth pattern. Now she's a bit dissapointed that we're ruining her work. Is there a way to minimize that? Could it be a problem of my graphic card (NVIDIA GEFORCE GT 650 2GB) set to maximum performance. It's a bit old, but this should not be a hard job.


      Any help would be greatly appreciated.

      Cheers

      Windows 10 64bit version 2004, i7 9700, M.2 SSD for system and SSD 2xRaid for data, 32Gb Ram, nVidia RTX 2070 (mobile) | located in Majorca / Spain

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

        @gaspar

        I think I'd need to see a picture of the projection compared to a screenshot of the animation on a monitor to understand what you're talking about.

        Straight lines certainly should not become sawtooth patterns. Perhaps there's an extreme resolution issue with the projector you're using, or it's an uneven surface, or you're projecting from a strange angle? I can't rule out that it's not actually an issue arising from optics until I can see a comparison between the image on the projection surface and a screenshot of what it's supposed to look like.

        Best wishes,

        Woland

        TroikaTronix Technical Support
        New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

        | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

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

          straight lines becoming jagged, sounds like a side effect of scaling the image. This is likely to happen especially with fine lines and probably more drastically if the scaling isn't proportional. 

          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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

          1 Reply Last reply Reply Quote 0
          • mark
            mark last edited by

            @gaspar said:

            several stright lines in the original video, become a sawtooth pattern.

            There are few more details that would help us to analyze this situation.

            1) If you could send a high-quality uncompressed (TIFF) copy of an frame from your video, along with the .izz file in which you've set up the cornerpinning, that would allow us to try to replicate the problem.

            2) You say "HD" but please be specific: 1920 x 1080? Or?

            3) What is the resolution of the output device on which this image is being displayed? 1920 x 1080? Or?

            That said, I did the following test: I imported a 1920x1080 black and white grid, and then used the Stage Setup editor in Isadora to adjust the keystoning (cornerpinning.) This is a comparison of the original image vs. the cornerpinned image when displayed at full resolution (2880 x 1800) on my laptop display.

            So yes, you can see some aliasing of the lines, but to my eye it seems acceptable on my screen.

            The keystoning function must resample the image to perform the required distortion, and you are bound to get some aliasing of the image as a result.

            Is this what you're seeing? Or something else?

            Best Wishes,
            Mark

            Media Artist & Creator of Isadora
            Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

            G 1 Reply Last reply Reply Quote 1
            • G
              Gaspar @mark last edited by Gaspar

              @mark @DusX @Woland

              Thank you for the responses. I'm attaching the TIF images of the undistorted and distorted view (screenshots of my 1920x1080 display, same as the source video). It is not really that bad there, But I'm projecting on an 8m wide screen, so it becomes more evident. The designer will make the stright lines slightly thicker. I did not really pay attention to that, but since the designer and drama assistant were upset, I decided to ask you if there is a way to improve that.

              Somewhat strange. I took the screenshot twice (one after restarting ISADORA), the second one looks a bit worse. I've found the performance of ISADORA being variable over time (maybe something else going on in the background sometimes, but it is nothing very evident to me). I've attached both. By the way I forgot to set them to uncompressed. But I think it is enough for this.

              I guess we can try these:
              1. Use thick lines.

              2.Avoid too much scaling. In this case we're limited in projector choice and placement, so Maybe doing a lower resolution render of the animation, close to actual mapped resolution, could possibly help.

              3. Any other thoughts to take in count for the future?

              This was rehersal. For the premiere we will have a proper projector and find a better position so scaling and keystoning are minimised. I guess that should improve the outcome.

              Thank you

              PD: I've dragged and dropped the TIFFs twice on the upload file window, but I can't see them in the post. Maybe I'm doing something wrong.

              Windows 10 64bit version 2004, i7 9700, M.2 SSD for system and SSD 2xRaid for data, 32Gb Ram, nVidia RTX 2070 (mobile) | located in Majorca / Spain

              DusX mark 2 Replies Last reply Reply Quote 0
              • DusX
                DusX Tech Staff @Gaspar last edited by

                @gaspar

                I don't see any attachments. Perhaps zip the tiff files first.

                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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

                1 Reply Last reply Reply Quote 0
                • mark
                  mark @Gaspar last edited by

                  @gaspar said:

                  PD: I've dragged and dropped the TIFFs twice on the upload file window, but I can't see them in the post. Maybe I'm doing something wrong.

                   .zip the files and then upload them. The TIFF extension might not be allowed by the forum software.

                  Media Artist & Creator of Isadora
                  Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

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

                    You could also upload all the files to a folder in Dropbox or Google Drive and share the link to that folder.

                    TroikaTronix Technical Support
                    New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                    TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                    TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                    | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

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

                      @Gaspar 

                      Do you still need help with this?

                      TroikaTronix Technical Support
                      New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                      TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                      TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                      | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

                      G 1 Reply Last reply Reply Quote 0
                      • J
                        janimatic last edited by

                        hello.

                        I am feeding 4k video from a GH4>Atomos>blackmagic recorder card,

                        and I am facing exactly the same aliasing problem when zooming.

                        I am not in front of the production machine now, but this is what i intend to test as a fix :

                        avoid aliasing artifact with blackmagic 4k live video feed :

                        > avoid scaling in the projector node...

                        > try FFGLPanSpinZoom freeframe plugin (anyone knows if this freeframe plugin avoid aliasing artifacts when zooming ? i cannot test now because i am not using windows 10, I will test on sunday)

                        https://troikatronix.com/plugin/tt-ffgl-for-isadora-2-3/

                        > or try glsl vertex shader transform
                        https://community.troikatronix.com/topic/2760/glsl-shader-actor-tutorial
                        https://community.troikatronix.com/topic/2803/4k-capture-recommendations/4
                        vertex shader with something like this

                        gl_Position = vec4( Position.x * Scale.x, Position.y * Scale.y, 0, 1 )
                        http://www.cplusplus.com/forum/general/106988/

                        > or try glsl
                        fragment shader, acting on uv coordinates like in this blur shader :

                        uniform sampler2DRect myTexture;
                        uniform float blurAmnt;
                        void main() {
                            vec2 vUv = gl_TexCoord[0].st;
                            vec4 color;
                            color += 0.5 * texture2DRect(myTexture, vUv + vec2(0.0, blurAmnt * -4.5));
                        etc...

                        > in theory antialiasing should only be useful when scaling down ?

                        if (scale < 1.0) {
                        inTexture.enableMipmap();
                        inTexture.generateMipmap();
                        //in.getTexture().setTextureMinMagFilter(GL_NEAREST, GL_NEAREST); // aliased
                        inTexture.setTextureMinMagFilter(GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR); // blurry
                        }

                        It would be intersting to get other experience with this no-antialiased issue..

                        Thank you

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

                          are you also working with a 4K display? If not, bringing in a 4K video feed is overkill because it’ll have to get scaled down for the display.

                          TroikaTronix Technical Support
                          New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                          TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                          TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                          | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

                          1 Reply Last reply Reply Quote 0
                          • J
                            janimatic last edited by

                            Hello,

                            Yes of course,

                            or more exactly, 2 edge blended hd projectors (making the picture very nicely bright) on 8 meter wide screen retroprojection.

                            Anyway we need to zoom in text documents, which are pretty sensitive to resolution, obviously.

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gaspar @Woland last edited by

                              @woland

                              sorry for the long silence. and thanl you for your interest. The problem still persists, but I've some other priorities right now. Regarding the sawtooth we've made the lines somewhat thicker, this way it is not that obvious, and I'm getting a new machine in a couple of weeks, maybe it works better on the new computer, since my actual graphic card is a bit weak.

                              Windows 10 64bit version 2004, i7 9700, M.2 SSD for system and SSD 2xRaid for data, 32Gb Ram, nVidia RTX 2070 (mobile) | located in Majorca / Spain

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