|
-
Jun 10th, 2001, 12:02 PM
#1
Thread Starter
Addicted Member
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.
-
Jun 11th, 2001, 05:38 AM
#2
PowerPoster
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
-
Jun 11th, 2001, 08:55 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|