Tagged Questions
1
vote
2answers
118 views
One or multiple VertexBuffers
I'm currently working on a personal project where I'm trying to load the levels and all of the geometry from the game "Medal of Honor Allied Assault" into my own C# code-base based on SharpDX.
I ...
0
votes
1answer
176 views
Custom VertexDeclaration for Color, Texture, Normal
What is the best way to create a VertexDeclaration, that makes it able to render a Shape consisting of vertices and also be able to store a color for the shape (in case the texture can't be rendered - ...
2
votes
1answer
323 views
Can using different vertex-buffers for each vertex-attributes be good in certain scenarios?
Is there scenarios where this is actually good practice? Or does it slow down performance?
Example:
//Vertex format is:
//X, Y, U, V
var myXYs:Vector.<Number> = new <Number>[
-1, -1,
...
3
votes
2answers
3k views
Mapping a Vertex Buffer in DirectX11
I have a VertexBuffer that I am remapping on a per frame base for a bunch of quads that are constantly updated, sharing the same material\index buffer but have different width/heights. However, ...