Serdar, The Sprite class was already hacked to use GL_TRIANGLES and indexed vertex lists, but the shader needs to be written before it's usable. Someone with more knowledge could do this very quickly I'm sure :) The graphics module has been partly updated so ColorAttributes and VertexAttributes work, which is all that's needed for sprites.
What I really need is for someone who is more familiar with modern OpenGL to look at the basic structure, and tell me if there are any big issues. In the mean time, I'll try to finish up the Shader module. Gabe Dube (author of the nice pyshaders project) gave me a lot of useful feedback on my older implementation, which helped a lot. I think I can make something simple but usable. On Monday, June 5, 2017 at 9:40:24 PM UTC+9, Serdar Yegulalp wrote: > > I'm absolutely down with this. I'd need to wait until sprites work > properly before I could give it a proper shakedown, as you can imagine, but > I'm truly excited about the possibility of using meshes, etc, directly with > Pyglet. > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
