--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Have you looked at the "3DRendering" example? Probably you'll have to rebuild the Mesh() every frame if you want new coordinates every frame. But Mesh() just takes a nice (numpy) array of coordinates to display primitives in various modes. You can use PushMatrix() PopMatrix() and other GL like commands to set up the 3D world.Also see https://kivy.org/docs/examples/gen__canvas__mesh__py.html for more info on how using a mesh works in various modes.Cheers!
On Fri, May 25, 2018 at 5:48 PM, Johanna Latt <johanna...@gmail.com> wrote:
Hi everyone,I am trying to use kivy to draw 3D lines and 3D spheres with openGL but I just can't find the right approach to get it to work. I want to draw multiple lines and spheres with different coordinates on every frame.I got it to work in PyQt simply by using GL_LINES and glVertex3d as well as using the glutSolidSphere from OpenGL.GLUT, but I have no idea how to get that incorporated into kivy. I have looked at the few openGL/3D examples that Google gave me but they didn't really seem to be what I was looking for.Can anyone point me into the right direction on how to achieve this?Thanks a lot!
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+unsubscribe@googlegroups.com.
Also a thought: https://github.com/kpiorno/kivy3dgui