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 @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

                            13

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.8k

                            Posts