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

Enable Model Translation on Right-Click and Mouse Movement. #771

Open
perminder-17 opened this issue Feb 25, 2024 · 3 comments
Open

Enable Model Translation on Right-Click and Mouse Movement. #771

perminder-17 opened this issue Feb 25, 2024 · 3 comments

Comments

@perminder-17
Copy link

Is your feature request related to a problem? Please describe.

Currently, when I right-click and move my mouse, the model zooms in or out. However, I believe it would be more intuitive if the model could translate instead. We often observe this functionality in open-source projects like three.js and p5.js, where users can easily manipulate the entire model for better viewing.

Describe the solution you'd like

I understand that model translation can be achieved by pressing Ctrl + Left Click, but this might not be immediately apparent to all users and could require referring to the documentation. Therefore, I suggest implementing a feature where right-clicking and moving the mouse would trigger model translation. This enhancement would not only make the interaction more user-friendly but also streamline the viewing experience for users. Currently, scrolling the mouse-wheel zooms the model in or out. Therefore, the right-click button should not serve the same function; instead, it should translate the model.

Additional context(Optional)

If we address this issue, we can also update the documentation accordingly.

Please close your issue when you feel it has been adequately resolved

@perminder-17
Copy link
Author

I'd like to hear your thoughts on this plan, @dkoes . Please let me know if you agree with this implementation approach or if you have any other suggestions.

Also, I'm considering ways to optimize our model's processing time. It seems that frame rates decrease when we handle complex models. Initially, I thought implementing framebuffers would be beneficial, but I guess we already utilize them. Do you have any suggestions for optimizing model processing time further?

@perminder-17
Copy link
Author

It would be great if any mentainer share there thoughts on this issue. :)

@dkoes
Copy link
Contributor

dkoes commented Feb 29, 2024

The controls mimic pymol and will not be changed. Having alternative control sets would be an option.

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

No branches or pull requests

2 participants