RE: [GD-Windows] DirectX Pure Device / HW Vertex Processing Stuff
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2001-09-24 03:27:16
|
> grinding so badly. For some reason it drops terribly when I mess > with vertex buffers myself, before throwing it to the vid card... You're aware that vertex buffers are in un-cached memory, right? You should never read them, and you should only write them linearly and completely. If you need to keep the data somewhere for modification, keep it in regular system memory, and "mess with it" on its way into the vertex buffer. On DirectX, you could structure your engine to use DISCARDCONTENTS for buffers that don't have static data, and just cycle through some number of buffers. On OpenGL, you could do the same with NV_fence. Cheers, / h+ |