3dstreet icon indicating copy to clipboard operation
3dstreet copied to clipboard

ability to specify slower speed transition

Open kfarr opened this issue 1 year ago β€’ 2 comments

as a user making a presentation or video from my 3dstreet scene, i'd like to slow down the transition speed for the double-click-to-center feature

workaround: in EditorControls.js manually edit line 96 scope.transitionSpeed = 0.00025;

(note that changing line 111 does not have any effect since it is presumably set in 96)

ui considerations - where to put this? some ideas:

  • in the toolbar, a toggle between immediate (lightning / no transition), fast (rabbit / current behavior), and slow (turtle) the latter two similar to dji drone speeds
  • as a property in a component on the Viewer layer (perhaps as part of converting this transition animation from a fakeComponent to a real component) -- advantage, no new UI is needed, simply let user set a value

kfarr avatar Sep 10 '24 03:09 kfarr

Oh, that's a leftover during my tests. The line 96 should be removed really, and keep only line 111.

vincentfretin avatar Sep 10 '24 07:09 vincentfretin

I'll keep that need in mind when rewriting that code to a real component on a real entity for the Viewer layer in #851 probably use the following schema {name: 'speed', oneOf: ['immediate', 'fast', 'slow'], default: 'fast' }

vincentfretin avatar Sep 11 '24 08:09 vincentfretin

done in #1032

vincentfretin avatar Jan 18 '25 10:01 vincentfretin