when i try to load a big map, the screen gets all black and frozen and when i ctrl-alt-delete it i found the following error : " XNA Framework Reach profile does not support 32 bit indices. Use IndexElementSize.SixteenBits or a type that has a size of two bytes. " . Any ideas ?
Change from the XNA Reach profile to the XNA HiDef profile.
Here is a list of the differences.
And here is an explaination of how to switch between the two.
Alternately:
If you are loading models, use models with fewer polygons.
Or, if you are using the IndexBuffer
class directly, construct your instances with IndexElementSize.SixteenBits
or typeof(short)
(depending on which constructor you use).