Skip to content

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

Description

@proscht

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;

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions