MWE:
using Makie, GeometryTypes, Colors
scene = Scene()
dots = scatter(rand(10), rand(10), rand(10))
center!(scene)
When I click and drag on the scene window, it rotates very quickly (about 1cm is a full rotation). I have a relatively high DPI screen, so if it's measuring mouse movement in pixels that would make it more sensitive.
Good point! I need to test this on my high dpi laptop, and likely should use screen millimeter as the unit ;)
Mouse sensitivity also feels strange (too low) when panning -- I'd kinda expect the cursor to stay fixed to the scene instead of moving much faster.
Are you by any chance on macos? I think in a 2d scene, the mouse should always move with the scene when panning.
No, Manjaro. I'm using a flat mouse profile though, so that might be a cause?
Edit: Pretty sure it is. The discrepancy in speed varies with speed of mouse movement.
Same thing for me, MacOS, both on a Retina laptop screen and non-Retina external monitor. Panning feels about right, though.
Is there any available workaround for this?
You can decrease rotation speed by setting ~scene.camera.rotationspeed[]~ cameracontrols(scene).rotationspeed[]
@asinghvi17, I cannot find any rotationspeed...
Ah, you need cameracontrols(scene).rotationspeed[] @cdsousa
The default value of cameracontrols(scene).rotationspeed[] was 0.3. Even when I set it to 0.0001, it still rotates very, very fast.
Could you try something like:
cameracontrols(scene).rotationspeed[] = 0.01f0
to make sure that the provided value is Float32?
btw, this looks like a pretty good default to me. @SimonDanisch could you test this out on your machine? If it makes sense, I'll PR the change.
@asinghvi17
My error. I was redefining scene object. It works just fine now. BTW, 0.01f0 is not necessary - 0.01 works just fine.
Agree with 0.01 being much better default than 0.3.
+1 for less sensitivity by default
Most helpful comment
@asinghvi17
My error. I was redefining
sceneobject. It works just fine now. BTW,0.01f0is not necessary -0.01works just fine.Agree with 0.01 being much better default than 0.3.