Compare vertex arrays

Is there any way to compare two vertex arrays for equality?

not with opengl, but you can easily make your own loop in your favorite language to do that.

Originally posted by Mazy:
not with opengl, but you can easily make your own loop in your favorite language to do that.

But if I do it with my own loop there is no hardware acceleration. How can I “put” data on a graphics card? Only with textures? And how can I “retrieve” data?

What Mazy is trying to tell is that there’s actually no way (yet) to fetch two vertex arrays to a GPU and ask “Are those two vertex arrays equal?”

By the way, equality with floating point map is something hard to figure out…
You can do something similar with pixels (and not VA) using render-texture but I don’t think there would be any use at all for it.

EDIT: the new problem you issue (which is, allocating everything on video card) has been addressed by some special extensions which finally produced ARB_vertex_buffer_object. Check it out.

[This message has been edited by Obli (edited 11-25-2003).]