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

Better Camera animation example #193

Open
bjack205 opened this issue Jan 6, 2021 · 1 comment
Open

Better Camera animation example #193

bjack205 opened this issue Jan 6, 2021 · 1 comment
Labels
question Further information is requested

Comments

@bjack205
Copy link
Contributor

bjack205 commented Jan 6, 2021

Can you add a better example/test that does something more meaningful with the camera controls? Every time I play around with the camera it doesn't quite make sense to me. Ideally one would like to independently control both the location of the camera and the center of focus of the camera (so you could follow a moving object).

For example, let's say I have a humanoid robot walking around. How would I move the camera so that it always looks at the robot from the side, even if it turns, flips, etc?

Also, is there a way to read off the current camera parameters? Say for example, I find a nice view of my scene using the mouse to pan/tilt/zoom, is there a way to extract the values so I can do it programatically?

Related to #116

@ferrolho ferrolho added the question Further information is requested label May 23, 2023
@ferrolho
Copy link
Collaborator

Some documentation regarding camera control can be found here: https://github.com/ferrolho/meshcat#camera-control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants