Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

How to update Dynamic Vertex Buffer only few Vertices?

$
0
0

@Praptobala wrote:

Hi,

I am using cloth simulation techniques in my model.

So i take the cloth model, I wanted to update only 3000 vertices out of 12000 vertices in the model.

I am creating a DynamicVertexBuffer for 12000 vertices and in that updating the vertex positions alone to 3000 cloth vertices.

But anyway I have to send these all 12000 vertices to CPU to GPU for every frame using SetVertexBuffer. This is slowing down my application. I am getting only 2 fps.

Please advice me is there any way to update the position alone from existing GPU Vertexbuffer directly, so that I can skip sending the entire DynamicVertexbuffer from CPU to GPU.

Thanks and Regards,
Bala

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles