Is there a significant difference when the there is only one vertex list in 
the entire program?

On a related note I'm currently struggling to find a convenient way to 
re-implement the drawing routines in my game using batched rendering.

Here is the game: https://github.com/hakuji/game3

Suggestions are welcome.

On Sunday, October 20, 2013 2:59:02 AM UTC-3, swiftcoder wrote:
>
> On Fri, Oct 18, 2013 at 9:40 PM, Akuji FooBar <[email protected]<javascript:>
> > wrote:
>
>> Hi,
>>
>> I wanted to understand how opengl indexed vertex list works and I found 
>> it tough to understand how to use it with pyglet. So I created a little 
>> example that creates vertexes all over the screen and draw a little square 
>> with them, one by one.
>>
>> If somebody have the same problem as I did, here it is:
>>
>> http://pastebin.com/fDLNwxV3
>>
>>
> Note that if you aren't changing the vertex data every frame, you should 
> probably put it in a batch instead:
>
> http://www.pyglet.org/doc/api/pyglet.graphics.Batch-class.html#add_indexed
>
> -- 
> Tristam MacDonald
> http://swiftcoder.wordpress.com/
>  

-- 
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/groups/opt_out.

Reply via email to