Well, I've made some progress. My program doesn't draw any 3D objects yet, but
it creates an OpenGL rendering window, binds the OpenGL functions, and
generates no errors. Here's the corrected initializeGL method:
def initializeGL(self):
c = self.context()
f = QSurfaceForma
On 4 Oct 2016, at 5:57 am, John Ladasky wrote:
>
> On Monday, October 3, 2016 at 1:30:29 AM UTC-7, Phil Thompson wrote:
>> On 3 Oct 2016, at 4:29 am, John Ladasky wrote:
>
>>> And as you can see: trying to call versionFunctions() is exactly where my
>>> program failed.
>>
>> Try passing a QOp
On Monday, October 3, 2016 at 1:30:29 AM UTC-7, Phil Thompson wrote:
> On 3 Oct 2016, at 4:29 am, John Ladasky wrote:
> > And as you can see: trying to call versionFunctions() is exactly where my
> > program failed.
>
> Try passing a QOpenGLVersionProfile object to versionFunctions() that has a
On 3 Oct 2016, at 4:29 am, John Ladasky wrote:
>
> On Sunday, October 2, 2016 at 7:21:15 PM UTC-7, blue wrote:
>> You have here a PyQt5 Reference Guide
>> http://pyqt.sourceforge.net/Docs/PyQt5/index.html
>> Some example can be found here 4 and 5
>> http://codeprogress.com/python/libraries/pyqt
On Sunday, October 2, 2016 at 7:21:15 PM UTC-7, blue wrote:
> You have here a PyQt5 Reference Guide
> http://pyqt.sourceforge.net/Docs/PyQt5/index.html
> Some example can be found here 4 and 5
> http://codeprogress.com/python/libraries/pyqt/
That's a nice page of examples, but there are no OpenG
On Sunday, October 2, 2016 at 7:45:50 PM UTC-7, Lawrence D’Oliveiro wrote:
> On Monday, October 3, 2016 at 2:14:13 PM UTC+13, John Ladasky wrote:
> >
> > I am making my first attempt at 3D rendering.
>
> Bear in mind there are two kinds of 3D rendering: realtime (with OpenGL) and
> non-realtime.
You have here a PyQt5 Reference Guide
http://pyqt.sourceforge.net/Docs/PyQt5/index.html
Some example can be found here 4 and 5
http://codeprogress.com/python/libraries/pyqt/
Support for OpenGL http://pyqt.sourceforge.net/Docs/PyQt5/opengl.html told us:
When compiled against Qt v5.1 or later, Py
Hi there,
I am making my first attempt at 3D rendering. My system configuration:
OS : Ubuntu 16.04 64-bit
Python : 3.5.1
Qt : 5.5.1
PyQt : 5.5.1
OpenGL : 4.5.0 (I have a modern GPU)
All software was installed from the Canonical repository. I didn't build any
binaries myself.
>From