asny / three-d

2D/3D renderer - makes it simple to draw stuff across platforms (including web)
MIT License
1.34k stars 110 forks source link

Decrease viewport rotation mouse sensitivity #333

Closed alexxbb closed 1 year ago

alexxbb commented 1 year ago

The default viewport rotation speed/sensitivity in the examples is very very high. A half-inch mouse movent translates to a couple of full 360-degree rotations of the viewport.

Please consider lowering it a little bit, for the best user experience/impression when learning the examples.

Thank you.

asny commented 1 year ago

Thanks for the feedback 👍 I guess it's the Orbit control sensitivity you mean, but just to be sure, can you point to a specific example that has that problem?

alexxbb commented 1 year ago

Hey @asny ,

Yes, I believe it's called Orbit. Pretty much any example file with a model in the center which you can orbit, demonstrates this behavior. A good reference of a comfortable orbit speed would be any 3D modeling software such as blender. Cheers.

asny commented 1 year ago

Closed in favour of #334

asny commented 1 year ago

@alexxbb I adjusted the OrbitControl sensitivity so it depends on distance to the target. It's not perfect, but hopefully better than before 🤞