Viewpoint navigation speed

classic Classic list List threaded Threaded
4 messages Options
jay jay
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Viewpoint navigation speed

Hi
How to control viewpoint navigation speed ??
It seems moving very fast
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Viewpoint navigation speed

Jay,
Use the optional duration parameter:

https://github.com/gwaldron/osgearth/blob/master/src/osgEarthUtil/EarthManipulator#L592
Glenn Waldron / Pelican Mapping
jay jay
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Viewpoint navigation speed

Hello Glenn,

thanks for replying.

shall i increase  _min_vp_duration in settings ? or in timed transition clause?

It is understood that based on LOD , keyboard navigates scene faster/ slower.

How to make keyboard navigation slower/constant even on coarser resol.

Secondly, All these changes can be done in .earth or shall i put it in code and recompile?


regards,
Jai
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Viewpoint navigation speed

There are lots of options depending on what you want to do in EarthManipulator::Settings, including

setAutoViewpointDurationEnabled()
setAutoViewpointDurationLimits()
setMouseSensitivity()
setKeyboardSensitivity()

You could hack osgearth_manip to add hotkeys for these if you want to try things out.
Glenn Waldron / Pelican Mapping
Loading...