does unused vertices in a 3D object affect performance?
Posted
by
Gajet
on Game Development
See other posts from Game Development
or by Gajet
Published on 2012-03-25T20:04:08Z
Indexed on
2012/03/25
23:42 UTC
Read the original article
Hit count: 201
For my game I need to generate a mesh dynamically. now I'm wondering does it have a noticeable affect in fps if I allocate more vertices than what I'm actually using or not? and does it matter if I'm using DirectX or OpenGL?
edit
final output will be a w*h cell grid, but for technical issues it's much more easier for me to allocate (w+1)*(h+1) vertices. sure I'll only use w*h vertices in indexing, and I know there is some memory wasting there, but I want to know if it also affect fps or not? (note that mesh is only generated once in each time you play the game)
© Game Development or respective owner