Tagged Questions
3
votes
1answer
265 views
Proper use of Dynamic Vertex Buffers for rapid update
I am creating a C#/SharpDx/DirectX10 application to plot line charts in a fast way.
I have a prototype which uses Dynamic Vertex Buffers and fills a fixed-size buffer, say 1M vertices, with new data ...
4
votes
2answers
230 views
How do I use D3DXVec3Unproject with D3D11?
I'm having a small issue with D3DXVec3Unproject. I'm currently using Direct3D 11 and not 10, and the signature for this function is:
D3DXVECTOR3 *pOut, CONST D3DXVECTOR3 *pV, CONST D3D10_VIEWPORT ...
1
vote
0answers
75 views
InputLayout handling
Where are you supposed to store InputLayout?
Suppose i have some basic structure like.
class Mesh
{
List<MeshPart> MeshParts
}
class MeshPart
{
Effect Effect;
VertexBufferBinding ...
6
votes
2answers
972 views
What advantages does DirectX 11 have over DirectX 10?
What advantages does DirectX 11 have over DirectX 10? Most of the new features seemed to be for directcompute from what I can tell, and how much more are you limiting your market by if you use DX11 ...
0
votes
1answer
471 views
Render full-screen gradient or texture
What's the simplest way to fill the background of the screen with a gradient or a texture in Direct3D 10/11?
I'm building a Windows 8 metro app in which the camera never moves and I render some ...
5
votes
1answer
559 views
Memory allocation strategy for the vertex buffers (DirectX 10/11)
I'm writing a CAD system. I have a 3D scene and there are many different objects (walls, doors, windows and so on). The user can add or delete objects.
The question is: How do I keep track of all the ...