-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Provide interaction for external window #418
Comments
@Meakk do you think this is even doable ? Unless I'm mistaken the interaction layer would actually depend on the chosen lib providing the OpenGL context, at least it's how it is implemented for Qt in VTK. |
Hmmm, we could have an external interactor too so the user can just forward the mouse/keyboard events, what do you think? |
That would work I suppose. I wish we had an actual usecase first and I dont think @GitCodeBoy is still using the libf3d. |
Here is example for tkinter in Python. |
Copy from Discord discussion https://discord.com/channels/1046005690809978911/1248564285328851015 So, I've been thinking of our current interactor logic and how it's pretty much unusable when using an "external" window.
The code above is basically what VTK is doing for native interactors at low level when we call |
So in short we need to provide a dedicated API for this, so not breaking. |
Just a comment to specify we need a way to transmit and multi-touch support for the Android app. |
Is your feature request related to a problem? Please describe.
I follow the test example to build a external widget/window inherit QOpenGLWindow in Qt.Use f3d.window.render() to draw the content.However, It doesn't interact with users the way Native types do,like handling mouse or keyboard event.
It may be a good idea to provide interaction for external window. Enable External Windows to have similar functionality as native Windows.
The text was updated successfully, but these errors were encountered: