• 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] Live drawing and shapes coordinates

    How To... ?
    scaling live drawing shapes coordinates mouse
    6
    10
    1840
    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.
    • jfg
      jfg last edited by Woland

      Re: [Live drawing cordinates](/topic/5181/live-drawing-cordinates)

      the problem remains in Live drawing and is also in shapes actor:

      the vertical coordinate is based on a % of the width so that it is impossible to get the draw to the position of the mouse or for the shapes actor to get a shape corresponding to mouse position value. There is a workaround (see old post on the top) in changing MIN and MAX value but it make it impossible to have a project working for different resolution because you have every time to find out the new values.

      Is  another solution to work with?  Stage mouse watcher and Shapes or Live drawing together are making me crazy

      best, Jean-François

      • Izzy 3.2.6
      - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
      - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
      Mac OS 10.14.6 (Mojave)
      - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

      • A range of deployable older Macs
        Located in Bremen, Germany
      Woland 1 Reply Last reply Reply Quote 0
      • Woland
        Woland Tech Staff @jfg last edited by

        @jfg said:

        There is a workaround (see old post on the top) in changing MIN and MAX value but it make it impossible to have a project working for different resolution because you have every time to find out the new values.

        With Shapes I don't have any problems after I just invert min and max of the Stage Mouse Watcher's vert. pos output. 

        https://recordit.co/kiFGIyxJ42

        With the Live Drawing actor it doesn't make it impossible, there's an equation for finding the right min and max for your Live Drawing vert pos based on the resolution you're working with. I automated the calculation with a User Actor, but be aware that it will only work if your display is set up in landscape layout. (Unfortunately, it's a slightly different equation if you're working in a non-standard setup like using portrait mode or have a display that's taller than it is wide, but I'm working on a User Actor that can switch between the two.)

        Stage Mouse Watcher.zip

        Best wishes,

        Woland

        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 |

        jfg 1 Reply Last reply Reply Quote 1
        • jfg
          jfg @Woland last edited by

          @woland

          Dear Lucas,

          Thanks a lot. in between I came by myself to the same calculation and result. But why doesn't use all the actors the same coordinate system?

          again thank you very much for your help.

          best, Jean-François

           

          • Izzy 3.2.6
          - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
          - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
          Mac OS 10.14.6 (Mojave)
          - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

          • A range of deployable older Macs
            Located in Bremen, Germany
          Fred mark 2 Replies Last reply Reply Quote 0
          • Fred
            Fred @jfg last edited by

            @jfg I have wanting a unified coordinate system for so long for Isadora.

            http://www.fredrodrigues.net/
            https://github.com/fred-dev
            OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
            Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

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

              @fred said:

              unified coordinate system

               We've been discussing this internally, we're just deciding on the best way to do it because we don't want to break old patches that are built for the old coordinate system.

              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 0
              • mark
                mark @jfg last edited by

                @jfg said:

                But why doesn't use all the actors the same coordinate system?

                Because Isadora's been around for 20 years, and there has been an evolution in thinking about this as time passed.

                1) In the early days, all video were bitmaps, with the vertical coordinate getting more positive as you move down.  Because of this, all the actors in Isadora v1 used this direction, including the mouse watcher, etc.

                2) Then came the 3D actors. In the 3D world, the vertical coordinate always gets more positive as you move up. So those actors used that convention.

                3) But then, more video actors came and I adopted the 3D convention for those.

                The big problem: there is no good way to update those old actors to the "Up Is Positive Y" system without breaking old patches... so the early ones use #1 and the later ones #2.

                Yes, it needs to be fixed. We've had discussions about how to do this internally as @Woland said. But it is something that needs to be done right so that people don't end up with old patches that don't work.

                Best Wishes,
                Mark

                Media Artist & Creator of Isadora
                Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                D 1 Reply Last reply Reply Quote 1
                • D
                  DillTheKraut @mark last edited by

                  @mark

                  You probalbly already discussed it, but just to be sure;
                  how about an option like the one for vertical or horizontal value sliders? Give the actors a default, like they had before, but the option to invert it.


                  Same for the value scale itself, give it an option to switch between percentage and total value.


                  Best, Dill

                  mark 1 Reply Last reply Reply Quote 1
                  • mark
                    mark @DillTheKraut last edited by

                    @dillthekraut said:

                    how about an option like the one for vertical or horizontal value sliders? Give the actors a default, like they had before, but the option to invert it.

                     Yes, that is one of the possibilities on the table. I just hate to clutter up small actors like the Mouse Watcher with an extra input that, eventually no one will use. It is possible, however, to make it hidden by default and to display it when opening old patches. That's probably how we would do it. The other way would be turn the old "Y is Down" actors into Classic (hidden) actors and to make a new actor that follows the "Y is Up" convention. 

                    Some kind of action on this will be taken before the next release of Isadora.

                    Best Wishes,
                    Mark

                    Media Artist & Creator of Isadora
                    Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                    D 1 Reply Last reply Reply Quote 2
                    • D
                      DillTheKraut @mark last edited by

                      @mark 

                      I see and understand what you say here, but my thought was even a step further. But I have to admit wasn't thought completely to the end.

                      I just had the fantasy of having this option on all actors and there values, where it would maybe make sense. Something like the changing possibility between % and TC for the movie player. I'm aware about the value scale actor, but I have the feeling, that it would be some different.

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

                        Maybe one could have the option to choose the coordinate system. This would allow progress and still support old pages...?

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

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