Re: [PyOpenGL-Devel] Test program?
Brought to you by:
mcfletch
From: Sam B. <sam...@se...> - 2014-05-25 13:37:36
|
On sab, 2014-05-24 at 10:16 -0700, Ian Mallett wrote: > I have been reading the "red-book" how well does it translate > to Py? > Pretty much directly. Keep in mind that the red book is OpenGL 2, > which is technically deprecated. It's not going away anytime soon, but > you should be aware that GL 3, 4 are now standard. The current edition, is for 4.3, which is what I've been reading. It includes the glsl stuff, so it's kind of the red/orange book now. http://www.amazon.co.uk/OpenGL-Programming-Guide-Official-Learning/dp/0321773039/ref=sr_1_1/277-3182922-3536901?ie=UTF8&qid=1401023378&sr=8-1&keywords=opengl+redbook As said, it's pretty much a direct comparison. There are a couple of minor differences, but you work them out pretty easily, and will likely find yourself just using the C OpenGL docs. For example, lists will be automatically converted when OpenGL expects an array, and sometimes you might not have an argument for the length of the array, as that information is in the Python object anyway. |