On Sun, 14 Aug 2011 15:40:00 -0700, Josh Stratton
wrote:
> I really need to add an entire program? I'm passing a
> QGLShaderProgram and QMatrix4x4 and getting an "argument doesn't
> exist". Would an entire program really provide that much more
> information?
Yes, otherwise I wouldn't have asked
I really need to add an entire program? I'm passing a
QGLShaderProgram and QMatrix4x4 and getting an "argument doesn't
exist". Would an entire program really provide that much more
information?
On Sun, Aug 14, 2011 at 2:45 PM, Phil Thompson
wrote:
> On Sun, 14 Aug 2011 13:14:20 -0700, Josh Stra
On Sun, 14 Aug 2011 13:14:20 -0700, Josh Stratton
wrote:
> I'm getting type errors sending a QMatrixr4x4 to a QGLShaderProgram.
> The program was taken from a C++ version of comparable code, but I'm
> assuming I need to do something more on the pyqt side to get the value
> passed over correctly?
I'm getting type errors sending a QMatrixr4x4 to a QGLShaderProgram.
The program was taken from a C++ version of comparable code, but I'm
assuming I need to do something more on the pyqt side to get the value
passed over correctly?
objToWorld = QMatrix4x4()
flatShader.setUniformValue("objToWorld",