All Questions
Tagged with index-buffer xna
5 questions
0
votes
1
answer
955
views
How to update "dynamicVertexBuffer" correctly with "setdata" on XNA?
I developed a small 3d games xna and uses a "DynamicVertexBuffer" and "DynamicIndexBuffer" to store and draw my vertices. Everything works fine, but my problem is the "Update" function where I update ...
-1
votes
2
answers
1k
views
Draw 60,000 cubic with DrawUserPrimitives on xna with only 20 fps-buffer problem?
I'm working on a minecraft style games on xna. I know it is not easy to draw a lot of cube with a good ratio of fps. I use the method "DrawUserPrimitive" with a buffer to draw a floor 250X250 cubes. ...
0
votes
2
answers
349
views
Is it only possible to display 64k vertices on the monitor with 16bit?
I did the first 3D tutorial over at riemers.net and stumbled upon that my graphic card only supports Shader 2.0 (Reach profile in XNA) which means I can only use ...
4
votes
1
answer
3k
views
How do you split indices and vertices if their quantity goes over the limit?
I want to draw a flat surface of 500x500 squares which are built out of four vertices by two triangles.
There are 1,000,000 vertices and 1,500,000 indices.
The Reach profile of xna, limits ...
2
votes
1
answer
2k
views
How can I draw multiple vertexbuffers with indices?
I'm using to types of vertices.
For the triangles:
0 Vector3 Position,
12 Color Color,
16 Vector3 Normal
For the lines:
...