-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Support animating the camera along a path #981
Comments
ref #2801 |
Cool. Implementing this would probably be beyond me (maths and 3D are definitely not my strong suits), but I'm happy to help workshop what the interface might look like. For instance, a couple of options: 1: Issues:
2: Issues
3: Issues:
Also, there is a bigger issue here in that currently you can't explicitly set a camera's 3D position (in X, Y, Z terms - you can only express it in polar coordinates from a given target destination). |
In the pursuit of making GL JS the smallest & sharpest tool possible, we're going to punt on this feature and encourage it to be written as a plugin. |
Yeah, probably a good idea. I'm not sure it's actually doable yet though, with the existing API. Currently, you can only animate a path along a straight line, or a curve (with very few parameters). So you can't really create an arbitrarily curving line, I don't think (could be wrong!). Maybe you'd have to make a looot of |
Yes! Or |
Yeah, I'm looking forward to that API simplification. Btw, and just FYI: "to punt on" is really ambiguous. In British/Australian/NZ/... English, it means "to take a gamble on". I gather in American English it means something like "to take the safe option". :) (Even though both derive from exactly the same metaphor, of kicking a football a long distance instead of running with it...) |
My apologies! I didn't realize how regional that idiom was. The definition I was shooting for was "If you punt on something, you decide not to do or include it" |
Ha, no apology necessary. (Punting on the River Cam is something else entirely...) |
With the perspective view in place, we'd want to easily make flight animation that follows a particular set of points, e.g. like Cesium does: http://www.doarama.com/view/160847
The text was updated successfully, but these errors were encountered: