• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

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

    [ANSWERED] Increase possible number of output ports for Javascript module

    Feature Requests
    4
    9
    516
    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.
    • bonemap
      bonemap Izzy Guru last edited by Woland

      Hi,

      It appears that Javascript is very efficient for moving 3d Models in Isadora, and there is the potential for introducing edge collision physics through this method (as demonstrated by @marci back in 2015). Using 3 output ports for each 3D models x y z movement, currently a limitation is quickly reached. This is a request to have the ability to increase the number of output ports associated with the Javascript actor. Considering that currently, maxing out the Javascript actor with 99 output ports, shows a load rating of under 5% using simple 3d models e.g low polygon count torus, sphere, heart shapes a possible output port limit of 600 would be good (for a maximum of 200, 3d models on the stage).


      Best Wishes

      Russell

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

      Juriaan 1 Reply Last reply Reply Quote 0
      • Juriaan
        Juriaan Tech Staff @bonemap last edited by

        @bonemap

        I personally think that this is a general thing that Actor outputs are limited to 99..

        @DusX @Woland Could you log this feature request :)


        For now a workaround that you can use;

        - Use JSON! This way you could actually send way more data through your 3D models. Using the JSON  actors that you can find in our Add-ons section.

        Isadora 3.1.1, Dell XPS 17 9710, Windows 10
        Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
        Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

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

          @juriaan

          Thanks for the suggestion. But I don’t really understand how JSON Parser is going to help as a work around in this context? Any specific pointers would be welcome.

          Best wishes

          Russell

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

          Juriaan 1 Reply Last reply Reply Quote 0
          • Juriaan
            Juriaan Tech Staff @bonemap last edited by

            @bonemap

            Currently, you are sending floats in your JavaScript. You can actually pack those in your JavaScript actor to JSON and send out an array of points that you require with a certain index.

            So let's say "torus:x1" (XYZ coordinate) with 10 points.. Using a JSON parser we can then grab the index "torus", fill in the number of points that we expect and it returns all the elements in the array.

            Isadora 3.1.1, Dell XPS 17 9710, Windows 10
            Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
            Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

            bonemap 1 Reply Last reply Reply Quote 1
            • bonemap
              bonemap Izzy Guru @Juriaan last edited by

              @juriaan

              Thank you I get it now!

              Best Wishes

              Russell

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

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

                @bonemap said:

                Thank you I get it now!

                 You will love working like this... you can save so much time by bundling parameters you are passing in and out of user actors, especially when you have numerous copies of a specific user actor.

                Troikatronix Technical Support

                • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                bonemap 1 Reply Last reply Reply Quote 1
                • bonemap
                  bonemap Izzy Guru @DusX last edited by bonemap

                  @dusx, @Juriaan

                  Hi,

                  Thanks for your insights into these methods.

                  I am using the following, great to learn new things! However after converting the data to a string - I then have to convert it back to floats to get the coordinates into the 3D Model actor. I have done this with another Javascript actor that takes the 'arguments[]' inputs in a nested array. But is there a way to package/un-package the floats without the second javascript intermediary?


                  });
                      var arr = data; 
                      var arrayToString = JSON.stringify(Object.assign({}, arr));  // convert array to string
                      }
                   return(arrayToString);
                   }
                  

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

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

                    @bonemap

                    I don't remember if this method fixes this or not, but you may want to look at the Javascript native way of creating and parsing JSON.
                    https://support.troikatronix.c...

                    Troikatronix Technical Support

                    • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                    • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                    • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                    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 1
                    • Woland
                      Woland Tech Staff last edited by

                      I know I'm late to the party, but my previous instance of thread necromancy on this post might be helpful.

                      TroikaTronix Technical Support
                      New Support Ticket: https://support.troikatronix.com/support/tickets/new
                      Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                      Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                      Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                      | Isadora Version: all of them | 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 1
                      • First post
                        Last post