HISE Logo Forum
    • Categories
    • Register
    • Login

    Mask does not scale properly on HiDPI or Retina display

    Scheduled Pinned Locked Moved Bug Reports
    18 Posts 8 Posters 2.3k Views
    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.
    • A
      aaronventure @whoopsydoodle
      last edited by

      @whoopsydoodle nope, still a bug. You could refer to the scaling ratio as a dimensions modifier when drawing your mask.

      Though that's only a bandaid.

      1 Reply Last reply Reply Quote 0
      • P
        prehm
        last edited by

        does this mean masks are basically unusable?
        i really need this feature..

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @prehm
          last edited by

          @prehm Unfortunately yes, like blur and maybe some other graphic functions...

          Hise made me an F5 dude, browser just suffers...

          P 1 Reply Last reply Reply Quote 0
          • P
            prehm @ustk
            last edited by prehm

            @ustk
            That’s a bummer.
            What’s wrong with blur? Seemed fine the one time I tried it

            ustkU A 2 Replies Last reply Reply Quote 0
            • ustkU
              ustk @prehm
              last edited by

              @prehm Very CPU heavy like shadows, except text shadow because it uses a different algorithm that we wait to be applied to other functions. I think the blur has a strange behaviour when scaling too...

              Hise made me an F5 dude, browser just suffers...

              1 Reply Last reply Reply Quote 0
              • A
                aaronventure @prehm
                last edited by aaronventure

                @prehm It uses the old JUCE routine for drawing blur, which is about 100x slower than the melatonin version that HISE is still missing, and it's still done on the CPU.

                If you want fancy graphics and visual effects, use a WebView and enjoy all the modern frontend tech.

                P 1 Reply Last reply Reply Quote 1
                • P
                  prehm @aaronventure
                  last edited by

                  @aaronventure
                  Cool, thanks for the hint.
                  I am new to programming so I‘ll have to read into that..

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @prehm
                    last edited by

                    It uses the old JUCE routine for drawing blur, which is about 100x slower than the melatonin version that HISE is still missing, and it's still done on the CPU.

                    FYI, I have replaced the shadow functions in the scripting Graphics object with the melatonin routines in the upcoming batch of commits.

                    But if you want to be 100% accurate, the melatonin shadow is also rendered on the CPU but it's highly optimized withs lots of dirty tricks. The default JUCE implementation (or my failed attempt of replacing it with another algorithm) is just unoptimized code.

                    ustkU 1 Reply Last reply Reply Quote 2
                    • ustkU
                      ustk @Christoph Hart
                      last edited by

                      @Christoph-Hart So the shadow is optimised, but not yet the blur, right?

                      Hise made me an F5 dude, browser just suffers...

                      1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey
                        last edited by

                        Is the mask/zoom issue fixed yet?

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

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

                        36

                        Online

                        2.1k

                        Users

                        12.9k

                        Topics

                        112.2k

                        Posts