On Sun, Oct 31, 2010 at 4:50 PM, Jonathan Hartley <[email protected]>wrote:
> For the record, I'm working through these pyopengl tutorials right > now. In case anyone else with old hardware is considering it, you > should know: > > It's all been plain sailing up until the seventh tutorial, which adds > multiple light sources: > http://pyopengl.sourceforge.net/context/tutorials/shader_7.xhtml > > I'm stuck on number 4. My problem is with the shader code, which operates on the same color buffer for both sets of vertices. This doesn't fit in a consolidated batch paradigm. Not entirely stuck; I'm thinking now two batches will be needed, or two shaders. (Or maybe I'll just skip this one, which appears would be best solved as it is. It is conceptual, not something I envision doing in a real application.) Did you convert these examples to Pyglet batches, Jonathon? I'm curious to see what you've accomplished. Gumm -- 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.
