• 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

    Live Drawing Patch

    How To... ?
    14
    29
    17158
    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.
    • mark
      mark last edited by

      I received this question via our support form: "Is there a way of  making the drawing interact with the movie, as in "erasing" the movie wherever the lines play?"

      The answer is yes, and the answer is shown in the updated patch in my original post.
      Best Wishes,
      Mark

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

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

        Hey All,

        I investigated the problem with the gaps. Here's why it's happening: the Mouse Watcher and Value Delay Lines are updated more frequently than the speed at which the Lines actor is drawn.
        Remember, actors like the Mouse Watcher are executed at the rate specified by the "General Service Task"; actors that draw video are drawn at the currently specified frame rate. (Both of these are specified in the General tab of the Isadora Preferences.)
        What that means is that the values being produced by the Mouse Watcher + Value Delay Lines could change between drawing cycles... leaving a gap between the lines.
        There is no really good solution to this problem except to update the Lines actor to buffer the line parameters when the 'trigger' input is triggered, i.e., to keep a list of all the pending lines so that when it draws, all of them are drawn. So that's exactly what I've done.
        Please see the improved patch along with the updated actors in my original post at the top of this thread.
        Best Wishes,
        Mark

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

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

          I say, Mark, I say! I like it a lot. Specially the reaction to the line size. I can see contructing this to act similar to my favorite al.chemy.

          MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

          1 Reply Last reply Reply Quote 0
          • crystalhorizon
            crystalhorizon Beta Platinum last edited by

            Thats great!

            Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

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

              We had some friends with kids over. I was just fooling with the patch and constructed a quick fun game for them. Left mouse click enable drawing on the stage; right click grab a new frame.

              BTW does anybody know if Wacom tablet could be used independent of the mouse so the Stage Mouse Watcher could see only that?

              1d209b-draw-on-your-face.izz

              MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

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

                @Mark

                When I did my drawing patch, I also notice putting the framerate to 75 frames gave me much better results with less gaps as with 25.

                Best
                Michel

                Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

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

                  Dear Michel,

                  Yes... I think it would be a similar problem with my original version. However, there should be no gaps in the updated version (as long as you install the revised plugins) regardless of frame rate.
                  Best Wishes,
                  Mark

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

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

                    Yes your version2 solves this.

                    Best
                    Michel

                    Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

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

                      @Vanakaru

                      Mark seems to have fixed this. I have made a few drawing system myself, depending on what kind of GL mode I am using to draw I can get no gaps easily and have varying responses to movement if it is really too fast. I have generally taken the approach of using the mouse input as an interrupt and adding all the points to an array of GL objects to draw. Whether these are drawn every frame or not is not important, I draw an updated version of the array every frame. Unfortunately there is not so much information on how precisely Isadora executes the actors.
                      Within Openframeworks there are 2 loops, 1 for updating and one for drawing. The draw runs at the frame rate you set and update runs as fast as it possibly can unless you slow it down. I still like to sketch a bit with Izzy and I think that having this structure would be beneficial. Some events that are not related to drawing anything to the screen could be run faster than the draw loop. If the draw loop is too much for your system to do the underlying interaction would still be fast and responsive. I think that as Izzy functions now it just does everything one thing at a time after each other. If this is the case altering the underlying behaviour would be way too much work to do in any hurry.

                      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

                      1 Reply Last reply Reply Quote 0
                      • M
                        mmoyse last edited by

                        Thanks, Mark.  Much appreciated.
                        Michel

                        1 Reply Last reply Reply Quote 0
                        • J
                          jtsteph last edited by

                          Thanks, Mark! This is a really interesting actor. I am going to wire it up to my kinect and see what i can get going on.

                          Justin

                          Isadora 4.0.2, W11 PRO 13700K (in a 4U case), 128GB RAM, 4 Lane M.2 Storage, RTX 3090, Ultraleap Motion 2, Behringer UMC404HD audio interface, Streamdeck XL, Streamdeck+, KorgNano Kontrol2.
                          Website: http://justinstephenson.com

                          1 Reply Last reply Reply Quote 0
                          • D
                            Debfoote last edited by

                            Thank you!

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

                              Hi everyone,

                              I find out this post and want to thank Michel and Mark for their contribution.
                              Just a question, is it normal that my fans turn very fast and my GPU rises to 75 degree ?
                              I tried to uncheck the Graphics automatic permutation in the System Preferences without success...
                              All the best.
                              Clement

                              https://clementbardet.wordpress.com
                              MBP retina late 2013 l 2,3GHz Core i7 l 16GB Ram l 2GB VRAM l OSX 10.12.6 l Latest Isadora version

                              1 Reply Last reply Reply Quote 0
                              • B
                                bozzy last edited by

                                Love it..! Thanks Mark... A question for everybody:

                                In "live draw as mask" scene are there any good suggestions how to replace black background of the "lines" actor with another image or movie? Thanks..!
                                1 Reply Last reply Reply Quote 0
                                • B
                                  bozzy last edited by

                                  I think this idea will work... I have to make it look better though... :) 7dc047-screen-shot-2015-02-12-at-12.32.41-pm.png

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    newsound last edited by

                                    Hello All,

                                    I realize that this thread is over a year and a half old, but the patch doesn't appear to be attached anymore.   Can someone repost it?  Or tell me where to find it?
                                    Thanks,
                                    El
                                    1 Reply Last reply Reply Quote 0
                                    • vanakaru
                                      vanakaru last edited by

                                      what patch you are referring to? the ones here are downloadable fine.

                                      MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        newsound last edited by

                                        The one Mark mentions in the original post.   I see the links to Pete's plugins, and I see your later patch, but I don't see Mark's original.  Am I just missing it?

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

                                          This is a screeshot of Marks post.
                                          5f4455-screenshotpost.png

                                          Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

                                          1 Reply Last reply Reply Quote 0
                                          • N
                                            newsound last edited by

                                            That's really strange.   I don't see the 3 patches at all, on either Firefox or Safari on either of my machines.   I'll try again later from a different location.

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