You can use a group together with your batch to have specific rotation/
translation.

Nicolas


On Jul 25, 10:41 pm, Daniel <[email protected]> wrote:
> Hello,
>
> I was just wondering if anybody had any insight on maximizing 3D
> performance. I'm trying to draw a bunch of polygons, each with a
> unique position and rotation.  With my own playing around and testing
> it quickly became apparent that Batches draw very very fast compared
> to individual vertex lists or glBegin() glEnd() blocks.  The slow down
> comes though once you start modifying the vertex data to account for
> changes in position and rotation.  Right now I'm using custom python
> functions to accomplish this.  I'm curious if there is a better
> option.  I know glTranslate and glRotate are very fast, but it doesn't
> appear obvious to me how you would integrate them with batched
> rendering.
>
> And yes, I know I could write the whole thing in C, but I much prefer
> working with Python and Pyglet.
>
> Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to