just looked up pyglet.graphics.Batch add method via google. so technically
you could pass None instad of group(1) and group(2) and bind the texture
between appending the images?
On Sunday, November 1, 2015 at 10:57:12 PM UTC, Salvakiya wrote:
>
> oh okay! fair enough. So can you explain to me the arguments of this peice
> of code?
> self.images.append(self.render.add(4, pyglet.gl.GL_QUADS, group(1),
> ('v3f',((16),(16),0.999996, 32+(16),(16),0.999996, 32+(16
> ),32+(16),0.999996, (16),32+(16),0.999996)),
> ('t3f',(self.texture1.tex_coords))))
>
>
>
> On Sunday, November 1, 2015 at 10:51:32 PM UTC, [email protected] wrote:
>>
>> Technically yes, you could do without the ordered group. In this case
>> though the ordered group is used to determine which texture to bind when
>> rendering the vertex lists, not the order in which their drawn.
>>
>
--
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 http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.