HISE Logo Forum
    • Categories
    • Register
    • Login

    Lottie tutorial?

    Scheduled Pinned Locked Moved General Questions
    31 Posts 10 Posters 1.9k 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.
    • S
      Sawer @ustk
      last edited by

      @ustk Thanks man!

      As you can see here, i cant drag and drop. Please do you know the reason?

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

        @nesta99 Try copy paste instead.

        How do you add the rlottie library to your installer so that the end user can see the animations?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

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

          I've added the library to packages as shown in the image, but it's not being installed, any ideas?

          Screen Shot 2021-02-17 at 10.58.06 PM.png

          Is this one of those situations where I need to use a post install script?

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          1 Reply Last reply Reply Quote 0
          • S
            Sawer @d.healey
            last edited by

            @d-healey Working now. Ahaha don't know how/were to start tho.
            Screen Shot 2021-02-18 at 11.04.15.png

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

              I found a solution for the installer. I just added the library as a separate package and gave it "librlottie" as the identifier. I also set the package to be required. I'll add this to my exporter tool when I do the next round of updates.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              ? 2 Replies Last reply Reply Quote 3
              • S
                Sawer
                last edited by

                Hi everyone. Screen Shot 2021-02-20 at 18.34.26.png

                After having the desired animation and the compressed file, how can i Load it to the panel Please?

                Any help is appreciated. Thanks

                S ulrikU 2 Replies Last reply Reply Quote 0
                • S
                  Sawer @Sawer
                  last edited by

                  @nesta99 please guys, any idea?

                  1 Reply Last reply Reply Quote 0
                  • ulrikU
                    ulrik @Sawer
                    last edited by

                    @nesta99 I think you should press "Compress" and copy the data.
                    then in Hise you make a reference to it like this:

                    const var animData = ("here goes your compressed data");
                    

                    in the panel:

                    panel.setAnimation(animData);
                    

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Sawer @ulrik
                      last edited by

                      @ulrik thanks a lot. Will try it now!

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @d.healey
                        last edited by

                        @d-healey 🙏💪👍

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @A Former User
                          last edited by

                          @UrsBollhalder Huh, what you want?

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @d.healey
                            last edited by A Former User

                            @d-healey I should have quoted your reply. Your solution on how to include the lottie library in packages just saved my life!

                            d.healeyD 1 Reply Last reply Reply Quote 1
                            • d.healeyD
                              d.healey @A Former User
                              last edited by

                              @UrsBollhalder Aha now I get it. @Christoph-Hart mentioned at some point rlottie might be included directly in HISE (now that that the rlottie license is compatible) so we don't have to deliver it to the user with each install.

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @d.healey
                                last edited by

                                @d-healey said in Lottie tutorial?:

                                I found a solution for the installer. I just added the library as a separate package and gave it "librlottie" as the identifier. I also set the package to be required. I'll add this to my exporter tool when I do the next round of updates.

                                Where do you set the destination for the librlottie? Because on MacOSX it lives in a hidden folder...

                                d.healeyD 1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @A Former User
                                  last edited by

                                  @UrsBollhalder I can't remember, I haven't used it since I posted that comment. I was doing it for someone else's project.

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @d.healey
                                    last edited by

                                    @d-healey Ok. But it worked in the end? I also put it in the AdditionalSOurceCode folder... I'll find a way.

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @A Former User
                                      last edited by

                                      @UrsBollhalder Yeah it definitely worked.

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

                                      ? 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @d.healey
                                        last edited by A Former User

                                        @d-healey said in Lottie tutorial?:

                                        @UrsBollhalder Yeah it definitely worked.

                                        The library is to be found in (and should be installed into) MacintoshHD/usr/local/lib/librlottie.dylib on MacOS... You just have to press ⌘. to show all hidden files and folders in Packages.

                                        In case anybody else runs into the same problem...

                                        Edit: This is the macOS path obviously... for Windows and Linux it should be the following:

                                        Windows:

                                        %APPDATA%/Company/Product/rlottie_x86.dll (for 32bit builds)
                                        %APPDATA%/Company/Product/rlottie_x64.dll (for 64bit builds)

                                        GNU/Linux:

                                        /usr/lib/

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

                                        23

                                        Online

                                        1.7k

                                        Users

                                        11.8k

                                        Topics

                                        102.8k

                                        Posts