Skip to content
\n

where the user can specify the endpoint script-run time (the third parameter in the above line) and the other values would be linearly interpolated between the start and end. (An enhancement would be spline interpolation). (At the beginning, I'll limit the tool to work only for both keyframes with the same body in focus).

\n

Do you see any unsurmountable problems for making such a tool?
\nIt could perhaps be implemented in javascript and made into an html control page, or I could write a c++ console application using cin/cout. Any preference?

","upvoteCount":1,"answerCount":4,"acceptedAnswer":{"@type":"Answer","text":"

In principle I don't see much of a problem with that. The issue is going to be how to generate the intermediate camera positions and orientations. A straight linear interpolation will go through the planet with your example. While making those transitions nicer, you'll be ultimately reimplementing our automatic camera movement to make it look nice.

\n

Before you start, also have a look at the https://github.com/OpenSpace/OpenSpace/tree/feature/keyframing branch that has some of those functionalities in it, but we haven't had the time to integrate it into the master branch

","upvoteCount":1,"url":"https://github.com/OpenSpace/OpenSpace/discussions/3294#discussioncomment-9636718"}}}

shall I make a tool for extrapolating from one (camera position and time) to another #3294

Answered by alexanderbock
hn-88 asked this question in Q&A
Discussion options

You must be logged in to vote

In principle I don't see much of a problem with that. The issue is going to be how to generate the intermediate camera positions and orientations. A straight linear interpolation will go through the planet with your example. While making those transitions nicer, you'll be ultimately reimplementing our automatic camera movement to make it look nice.

Before you start, also have a look at the https://github.com/OpenSpace/OpenSpace/tree/feature/keyframing branch that has some of those functionalities in it, but we haven't had the time to integrate it into the master branch

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@hn-88
Comment options

Answer selected by hn-88
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hn-88
Comment options

@WeirdRubberDuck
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants