Drawing of a huge model - How to regain performance?
Posted
by
marc wellman
on Game Development
See other posts from Game Development
or by marc wellman
Published on 2012-11-19T12:58:44Z
Indexed on
2012/11/19
17:24 UTC
Read the original article
Hit count: 305
I have a huge model I want to draw in my XNA application but because of its size I am experiencing a tremendous loss of performance.
The model has about ~50 000 000 edges and has a size on disk of 205 MB in DirectX Format.
Please don't ask whether this model has to be that big - yes it has!
Is there a way to transfer the model directly to my GPU in order to let the GPU do the drawing like when transferring a VertexBuffer like this:
graphicsDevice.Vertices[1].SetSource(_instanceBuffers[i], 0, _sizeofMatrix);
because when I try to fill a vertexBuffer with all the vertices I am getting a OutOfMemoryException.
© Game Development or respective owner