Results 1 to 3 of 3

Thread: VertexBuffer question

  1. #1

    Thread Starter
    Addicted Member Cuallito's Avatar
    Join Date
    Apr 2001
    Location
    You know that chest that you could never get opened? If you ever do, I'm there.
    Posts
    136

    VertexBuffer question

    In a prog that i'm making I have some particle stuff goin' on... Well, anyway I was wondering if it is faster to process the particles and render them with DrawPrimitiveUP or put them into a VertexBuffer and then draw them using DrawPrimitive. I would have to refill the vertexbuffer(becuase they would change pos) each time I render the particles so thats why I'm asking.
    BTW, Thanks for all your help

    Member of the anti-gay cross-dressing trans-species wolves alliance.

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    VertexBuffers are usefull if you need to render the same model more than 1 time (on different position for example)... also in DX8 you can directly stream vbuffers to the render pipeline, read the SDK for details

  3. #3
    Zaei
    Guest
    Drawing using DrawPrimitiveUP is ALWAYS slower. Use a VertexBuffer created with D3DUSAGE_DYNAMIC if you need to change the vertices every frame.

    Z.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width