Background image in GLViewWidget

27 views
Skip to first unread message

Zach Lowry

unread,
Apr 16, 2018, 2:28:57 PM4/16/18
to pyqtgraph
Hello,

I have an application that uses the GLViewWidget as the viewport of a GraphicsView to combine 2D GraphicsItem widgets on top of a 3D model in the GLViewWidget. I'd like to place a background image in the GLViewWidget that does not respond to the scaling/rotation of the GLViewWidget. I assume that the best way forward here is to add the background image rendering to the paintGL() method of GLViewWidget? Is there an example somewhere of how this would work?

Thanks,

--Zach
Reply all
Reply to author
Forward
0 new messages