Original Post
Hello,
That''s my project : I "DrawIndexedPrimitive" a world composed by 25921 vertices... and I texture it with one texture.
1. If I load "D3DXCreateTextureFromFile" a 256*256 or smaller texture, all works fine.... but if I try to use a bigger one (512*512), I have an access violation !!!
So I try to retrieve information from the device (GetCaps) and it returns to me that I can use up to 1024*1024 texture''s size !
What is the problem ? How can I allocate correctly memory for the texture ?
2. What are the advantages of using a Vertex Buffer ?
3. What are the limits of Vertices number to draw with one call of DrawIndexedPrimitive ?
Thanks in advance for some help.
Christophe Vuignier
Swisscom.com