You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it would be possible to integrate using Kivy as an additional backend, since it has Android and iOS export capabilities as well as many other features. Unfortunately, it doesn't use the same PyOpenGL bindings as the other integrations do and instead they have their own, very similar set (I believe it's also OpenGL-ES)
I've experimented a bit with it, but I can't understand whether vertex array objects are supported or not... and also my knowledge of OpenGL is quite limited. However, I think it might be possible. It would be great to be able to use pyimgui alongside Kivy, or at the very least use it to make mobile applications. (I think doing IO for mobile shouldn't be too difficult using Plyer to get input)
The text was updated successfully, but these errors were encountered:
Another option for mobile support would be to use buildozer, which already has recipes set up for PySDL2 and pyimgui already has a backend in that. I've tried this myself, but haven't yet figured out how to cross-compile the imgui core.so for Android (buildozer has a CythonRecipe system) so it complains about being compiled for the wrong architecture. It might be significantly easier than trying to hack workarounds for missing OpenGL commands in Kivy.
Aman-Anas
changed the title
Kivy Integration
Kivy Integration and/or Mobile Export
Sep 4, 2023
I was wondering if it would be possible to integrate using Kivy as an additional backend, since it has Android and iOS export capabilities as well as many other features. Unfortunately, it doesn't use the same PyOpenGL bindings as the other integrations do and instead they have their own, very similar set (I believe it's also OpenGL-ES)
https://kivy.org/doc/stable/api-kivy.graphics.html
https://github.com/kivy/kivy/blob/master/kivy/graphics/opengl.pyx
https://groups.google.com/g/kivy-users/c/JShG-MNMpIA/m/yvJgIaTUCgAJ
I've experimented a bit with it, but I can't understand whether vertex array objects are supported or not... and also my knowledge of OpenGL is quite limited. However, I think it might be possible. It would be great to be able to use pyimgui alongside Kivy, or at the very least use it to make mobile applications. (I think doing IO for mobile shouldn't be too difficult using
Plyer
to get input)The text was updated successfully, but these errors were encountered: