In hopes that it's useful, the 4th Edition of the SuperBible covers 2.1 stuff. 5th Ed is a rewrite without deprecated bits.
I hacked together a bunch of the examples from 4th edition in pyglet at http://github.com/BenSmith/PythonOpenGLSuperBible4 - still needs work, I used to have more free time. Maybe it can help build a bridge between old and new, even if some of it renders upside-down. -b On Oct 29, 1:59 pm, Richard Jones <[email protected]> wrote: > On Fri, Oct 29, 2010 at 11:10 PM, Jonathan Hartley <[email protected]> > wrote: > > On Oct 29, 1:23 am, Richard Jones <[email protected]> wrote: > >> On Thu, Oct 28, 2010 at 7:40 PM, Jonathan Hartley <[email protected]> > >> wrote: > >> > I just ordered the OpenGL SuperBible this week. I understand the > >> > latest 5th edition is now written entirely in an 'opengl 3 using > >> > shaders' style. > > >> Thanks for this tip - but sadly I have discovered through the OpenGL > >> Extensions Viewer (http://www.realtech-vr.com/glview/download.htmlvia > >> the SuperBible site) that my MacBook (GeForce 9400M) doesn't have > >> support for the minimum of OpenGL 3.2 required by the 5th edition :-( > > >> Apparently I have OpenGL 2.1 fully supported (shading language 1.20) > >> and *some* features of 2.0, 2.1 and 3.2. Nothing beyond that :-( > > >> I'd still like to investigate this new world of shaders and ditching > >> the fixed function pipeline, but now I'm not sure it's a good idea. > >> What sorts of things could I reasonably replace, given the low level > >> of support I have? > > >> Richard > > > Gah! I hadn't realised Superbible explicitly requires OpenGL 3.2. My > > own personal linux/XP laptop is also at OpenGL 2.1. I figured I might > > have to wing it around some parts where Superbible requires newer > > OpenGL than that, but since I have VBOs and shaders, I had anticipated > > this wouldn't amount to much. Maybe I was wrong. We shall see. > > For what it's worth I've ordered a copy anyway (the Aussie dollar > being so high it's hard to resist impulse buying books like this ;-) > so I'll soon be finding out how practical it is to apply its methods > to 2.1 as well.... altho it'd be really nice if Apple just supported > OpenGL 3 :-) > > Richard -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
