• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    [SOLVED] triggering from "Float to Integer"...

    How To... ?
    7
    13
    2.0k
    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.
    • tomthebomT
      tomthebom
      last edited by

      Sorry, I was a bit unclear. The background: My pupils need some snow and fire for a show we are making. My idea was to use  the texture map feature of the particle emitter from Marks workshop 2017/Berlin. (A texture file with 4x4 textures, 512x51pics etc...). A texture with 4x4 snow crystals, who are randomly chosen, was easy. The texture for fire looks better, if the 16 textures are presented in a sequence. This was no problem, until I realised, that that sequence should play forward backward.  I was wondering, how easy it would be, to set up a counter counting from 1 to 16 and back. It is there, where I decided to look into the triangle wave generator solution... I simply can not find a simple way to count up - and down! ??? 
      If one limits f.e the output of a wave generator between 1 and 16, the wave generator works more as a low pass filter: It counts from 1 to 16 and waits, until the wave generator has counted up to 100 and back to 16, before it counts down again...
      And the upper solution shows the wanted result, but I can not use it, because the integer value still gets updated as a float value...

      Here is how far I got. I am happy for any feedback and happy for sharing this ;o)

      particle fiddling.izz
      footage.zip

      Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

      1 Reply Last reply Reply Quote 0
      • bonemapB
        bonemap Izzy Guru
        last edited by

        Hi,

        This might help, although it is not as simple as it should be. I am using the 'Trigger Divider' actor to send an input to a Router actor that switches between adding and subtracting incrementally from the Counter actor. In this way the Counter increments to the maximum and then switches to reverse the count by subtracting to the minimum.

        best wishes

        bonemap

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

        1 Reply Last reply Reply Quote 0
        • tomthebomT
          tomthebom
          last edited by

          @bonemap 

          Thanks a lot, I will look into this way later on in the day.
          I am a bit surprised, that there is no "native izzy" way. Would it make sense to add this way of counting as a mode to the counter actor?
          Thanks for the quick help! Best wishes, tom

          Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

          1 Reply Last reply Reply Quote 0
          • dbiniD
            dbini
            last edited by dbini

            2 simple ways to achieve this (i think its what you're looking for) in the same patch:

            (edit: except the Float to Integer should be set to Round mode, otherwise you would never get to 16)

            John Collingswood
            taikabox.com
            2013 MBPR 2.3GHZ i7 OSX11.7.4 16GB
            & 2019 MBPT 2.6GHZ i7 OSX12.3 16GB

            tomthebomT bonemapB 2 Replies Last reply Reply Quote 1
            • tomthebomT
              tomthebom @dbini
              last edited by

              @dbini

              Thanks for the selector version! Nice alternative! 🐵

              Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

              R 1 Reply Last reply Reply Quote 0
              • R
                Reinhard @tomthebom
                last edited by

                @tomthebom

                same but different...

                best

                r

                mbp 16", 2021, m1pro, 16gb, 12.6 / 6core trashcan, 11.2 / youngest Izzy

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

                  Another similar method:

                  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 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                  1 Reply Last reply Reply Quote 0
                  • bonemapB
                    bonemap Izzy Guru @dbini
                    last edited by bonemap

                    @dbini said:

                    simple ways to achieve this 

                    It is so cool that you can come up with such an infinitely simple solution... bravo

                    best wishes,

                    bonemap 

                     

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

                    1 Reply Last reply Reply Quote 0
                    • tomthebomT
                      tomthebom
                      last edited by

                      Cool, indeed. And wonderful to see the many possibilities, too.

                      Izzy 3.2.6 ARM on MBP14'/2023/M2 Pro/ macOS 13.5

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

                        @tomthebom said:

                        Cool, indeed. And wonderful to see the many possibilities, too.

                         In Isadora, there are nigh-infinite ways to skin a cat 😉

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