razor
01-22-2002, 04:00 PM
Hi all,
I am using VAR/Fence to draw approximately 200,000 quads. I get around 16 frames or so (a bit over 3 million quads per sec, or 6 million triangles).
The way i draw is i bind a texture, check if the previous fence is finished, copy the vertices for that texture to VAR memory with memcpy(), then render with drawElements(), and finally set the fence. This is in a for loop that cycles over all the textures.
I think thats pretty bad in terms of performance, but i think i'm doing the VAR stuff right... does anyone else have any suggestions.
Note that i do enable all the state thats required to draw the polygons (which are gouraud shaded with 1 texture).
I am using VAR/Fence to draw approximately 200,000 quads. I get around 16 frames or so (a bit over 3 million quads per sec, or 6 million triangles).
The way i draw is i bind a texture, check if the previous fence is finished, copy the vertices for that texture to VAR memory with memcpy(), then render with drawElements(), and finally set the fence. This is in a for loop that cycles over all the textures.
I think thats pretty bad in terms of performance, but i think i'm doing the VAR stuff right... does anyone else have any suggestions.
Note that i do enable all the state thats required to draw the polygons (which are gouraud shaded with 1 texture).