Contents
How to reduce the size of the vertex buffer?
If your application needs random access into the vertex buffer in AGP memory, choose a vertex format size that is a multiple of 32 bytes. Otherwise, select the smallest appropriate format.
How to optimize vertex cache in Direct3D 9?
Use smaller textures, if you can do so. Draw objects in your scene from front to back. Use triangle strips instead of lists and fans. For optimal vertex cache performance, arrange strips to reuse triangle vertices sooner, rather than later. Gracefully degrade special effects that require a disproportionate share of system resources.
How to improve texture mapping in Direct3D 9?
Set the D3DRS_SPECULARENABLE render state to 0, the default value, whenever possible. When defining materials, you must set the specular power value to zero to turn off specular highlights for that material; just setting the specular color to 0,0,0 is not enough. Texture-mapping performance is heavily dependent on the speed of memory.
Which is the fastest way to use textures?
Try to keep polygons grouped in order of the textures they use. Use square textures whenever possible. Textures whose dimensions are 256×256 are the fastest. If your application uses four 128×128 textures, for example, try to ensure that they use the same palette and place them all into one 256×256 texture.
Why is locking a vertex buffer a performance penalty?
Locking a static vertex buffer while the graphics processor is using the buffer can have a significant performance penalty. The lock call must wait until the graphics processor is finished reading vertex or index data from the buffer before it can return to the calling application, a significant delay.
What do you mean by efficient buffer management?
Don’t Throw it all Away: Efficient Buffer Management John McDonald Developer Technology, NVIDIA Corporation What are we talking about? ●General Performance/Functional Guidance ●CPU-GPU Sync Points ●Buffer Usage Patterns ●Contention-Free Buffers ●Constant Buffers ●Performance Investigation “Buffers” is really generic… ●Vertex Buffers
Why does VRTX have a poor copy performance?
In this configuration you are bound to the write-through caching policy, which is currently performing very bad. Because of this big performance hit on the storage (caused by the caching policy) I had the following problems: Poor copy performance (copying big files within the same volume 70MB/s max)