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

custom camera controls implementation #5

Open
7 tasks
rob2d opened this issue May 4, 2023 · 1 comment
Open
7 tasks

custom camera controls implementation #5

rob2d opened this issue May 4, 2023 · 1 comment
Labels
enhancement New feature or request low-priority

Comments

@rob2d
Copy link
Owner

rob2d commented May 4, 2023

Relying on using OrbitControls just to be pragmatic to start, but this is far too limited along with other ThreeJS solutions so far (not to discount the possibility of using them); ideally there should be a camera with simple pan/zoom/rotation controls that do not bound viewable area.

MVP of custom implementation should strive to support:

  • mouse controls:
    • move: rotate
    • + hold shift: pan
    • + hold control: zoom
  • touchscreen/pad controls with two fingers:
    • + move: rotate
    • + pinch/expand: control zoom

Some consideration should be given to making sure that things are smooth (so no linear movement e.g. Math trig fns) + it should be easy to add controls for sensitivity later on.

@rob2d rob2d added the enhancement New feature or request label May 4, 2023
@rob2d
Copy link
Owner Author

rob2d commented Jun 23, 2023

Users have not had significant usability issues with built-in OrbitalControls after adding a splash screen with hints on usage.

Would still be nice for several other reasons (e. g. programmatic camera for videos) but because of more interesting/functional features that can be added, marked this down to low-priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority
Projects
None yet
Development

No branches or pull requests

1 participant