Original Post
Hello,
I''ve implement a quadtree in my game. But the problem is, that the quadtree
is slower than without one. I have a big landscape and draw only the
vertices I have to draw, thats clear. So how can I optimize a quadtree?
I think I found the problem: In every frame I collect from each node which
have to draw the polygons and collect all vertices in one array and draw it.
And the problem is, that this collection of polygons is slow, because I go
through a loop to add the vertices of the node to the big array. So how can
I optimize this routine?
Thanks
Neo
www.neobrothers.de