Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request ViewPoint.cpp : flightTime between two viewpoints proportional to flight path length beween them #38

Open
proscht opened this issue Mar 22, 2018 · 0 comments

Comments

@proscht
Copy link

proscht commented Mar 22, 2018

die flightTime ist bisher immer konstant zwischen 2 viewpoints.

als zusätzlich feature wäre es fein, wenn man auch die flightTime proportional zur flight path length haben könnte. Auf diese Weise könnte man alle viewpoints mit der gleichen Geschwindigkeit durchfliegen.


   double thisTime = tp.tv_sec + ((float)tp.tv_usec) / 1000000.0; 

1822

1823 float lambda = (thisTime - initTime) / flightTime;
1824 //fprintf(stderr,"flyingStatus thisTime=%f initTime=%f lambda=%f\n", thisTime,initTime,lambda);
1825 if (lambda < 0)
1826 lambda = 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants