Pyrender Scene object in Kivy

51 views
Skip to first unread message

Fred Domptail

unread,
Oct 22, 2019, 5:15:53 AM10/22/19
to Kivy users support
Hi all,
Would any of you know if it is possible it include a pyrender.scene object into a Kivy widget?
Pyrender is a very usefull tool to render 3D object in Python (https://pyrender.readthedocs.io)
Many thanks
Fred

Robert Flatt

unread,
Oct 22, 2019, 1:11:21 PM10/22/19
to Kivy users support
Every Kivy Widget has a canvas to draw on, the rest is just details ;)  for example (a different render drawing on a canvas):

A starting point might be mapping the output of pyrender.OffscreenRender() and drawing to a canvas. Eventually you might want to think about subclassing pyrenderer.Viewer()
Reply all
Reply to author
Forward
0 new messages