JSCAD User Group

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

    V2: Feedback render sluggish on GTX1070

    Development Discussions
    3
    16
    1349
    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.
    • z3dev
      z3dev @hrgdavor last edited by z3dev

      @hrgdavor you need to play with those settings some more.

      I suggest that you crank up the rates, which drives the number of updates going into the rendering, i.e. rotateRate. Set this to something higher, like 30, 40, 50.

      In addition, there's the speed of the rotation; rotateSpeed. This controls the movement between rotation updates. The max is 1.0, and will be extremely fast and uncontrollable. Somewhere between 0.010 and 0.001 will work the best.

      It may be possible to allow users to control these values as well, and choose a rotation speed. Something like choosing the speed of the mouse.

      hrgdavor 1 Reply Last reply Reply Quote 0
      • hrgdavor
        hrgdavor @z3dev last edited by

        @z3dev changing options only makes issue more visible but does not solve it. Are you not seing there is inertia when rotate is following the mouse....

        if I move my mouse few times left / right the rotation does not end in same place if mouse is i nsam place as it does in V1. .. it is so anoying I cant describe :(.

        http://hrg.hr/tmp/bandicam 2020-10-15 10-22-50-635.mp4

        z3dev 1 Reply Last reply Reply Quote 0
        • hrgdavor
          hrgdavor @z3dev last edited by

          @z3dev all of that was tested on https://jscad.xyz/ ... but I will try local instance and settings

          1 Reply Last reply Reply Quote 0
          • z3dev
            z3dev @hrgdavor last edited by

            @hrgdavor yup. there are some settings.

            I think that you are working with a local version of V2. Just change the constants in this file.

            packages/web/src/ui/views/viewer.js
            

            And start the dev instance.

            npm run dev
            

            Let me know what works best.

            hrgdavor 2 Replies Last reply Reply Quote 0
            • hrgdavor
              hrgdavor @z3dev last edited by

              @z3dev said in V2: Feedback render sluggish on GTX1070:

              @hrgdavor yup. thought that it might be 'rotate'. it feels a little sluggish at times.

              not just sluggish, it seems like intentional smoothing with bounce, it feels horrible

              z3dev 1 Reply Last reply Reply Quote 0
              • hrgdavor
                hrgdavor last edited by

                pan as well (it is even worse, moves like 10% of mouse movement)
                http://hrg.hr/tmp/bandicam 2020-10-14 09-35-02-460.mp4

                1 Reply Last reply Reply Quote 0
                • z3dev
                  z3dev @hrgdavor last edited by

                  @hrgdavor yup. thought that it might be 'rotate'. it feels a little sluggish at times.

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

                    sorry, have not noticed your responses. did not get email notify although I tried to enable it in settings.

                    hm, yes, this is windows 10. and looking at it more closely, it it may not be performance issue.

                    it is loke rotation is elastic and and lagging

                    video showing difference V1 vs V2
                    http://hrg.hr/tmp/bandicam 2020-10-12 11-10-44-928.mp4

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

                      @hrgdavor can you provide some more feedback on the 'sluggish' behaviour?

                      there are internal throttles on the number of rotations, pans, zooms per second. maybe that makes V2 seem 'sluggish'?

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

                        I converted some of V1 examples to V2 and when I run them both in V1 and V2, their performance looks the same. I'm on Ubuntu with Firefox both on a very old tabletop pc (with a 2011 Radeon) and on a recent laptop (with Ryzen 3).

                        1 Reply Last reply Reply Quote 0
                        • z3dev
                          z3dev @hrgdavor last edited by

                          @hrgdavor not good.

                          FYI, I use a Mac Mini (late 2012) for development. There's nothing fast about this PC but I definitely don't have 'horrible' performance with V2 JSCAD.

                          What OS are you running? It looks like Windows 10.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB | Contributors