Arath
04-25-2001, 12:09 PM
Hi,
I read one month ago, a paper from nvidia, which shows with graphically that vertex buffer (sorry in DX :-( ) are drawn faster when there are sorted. So, I sorted my vertex array (in openGL so, I'm not treacherous person), but I loose 1,15 millions of polygone, what an ugly performance, isn't it? Anybody know why I get a such slowdown? Is it only working with DX?
Here an example of my vertices indexes before and after sorting :
before : 0;17;18;18;1;0;1;18;19;19
after : 0;1;2;2;3;0;3;2;4;4
and so on ... of course I change my vertex, normals, texture coordinate array to suit with the new index array, do I use a wrong
method?
Arath
PS : I have a GeForce 2 MX.
I read one month ago, a paper from nvidia, which shows with graphically that vertex buffer (sorry in DX :-( ) are drawn faster when there are sorted. So, I sorted my vertex array (in openGL so, I'm not treacherous person), but I loose 1,15 millions of polygone, what an ugly performance, isn't it? Anybody know why I get a such slowdown? Is it only working with DX?
Here an example of my vertices indexes before and after sorting :
before : 0;17;18;18;1;0;1;18;19;19
after : 0;1;2;2;3;0;3;2;4;4
and so on ... of course I change my vertex, normals, texture coordinate array to suit with the new index array, do I use a wrong
method?
Arath
PS : I have a GeForce 2 MX.