48 reputation
4
bio website
location
age
visits member for 2 years
seen Dec 14 at 10:13

Dec
3
comment How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
Besides, once you use a batch (and the painters algo; no z-ordering), everything has to use that batch. Or your render order screws up.
Dec
3
comment How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
Using one single vbo you wouldn't be able to use a different shader per quad, right? Or is that incredibly uncommon in day-to-day applications?
Dec
3
comment How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
Hmmm...displacing vertices in a wavey pattern? I'm asking the question because I'm still learning about this. Can't imagine there aren't any real-life uses for a vertex shader, but definitely correct me if I'm wrong.
Dec
3
comment How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
Hmm...how would you handle multiple shaders? I reckon you'd keep one array/vector per shader?
Dec
3
comment How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
I like this! Basically using one quad vbo as a stamp. I guess the disadvantage would be that you wouldn't be able to use a custom vertex shader, but for some applications that would be fine.
Dec
3
revised How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
added 91 characters in body
Dec
3
awarded  Editor
Dec
3
revised How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
edited title
Dec
3
asked How does a general Renderer::drawRect(0, 0, 100, 100) handle VBO's?
Dec
27
awarded  Supporter
Dec
26
awarded  Scholar
Dec
26
accepted Why do mesh classes still contain vertex arrays if VBO's exist?
Dec
24
comment Why do mesh classes still contain vertex arrays if VBO's exist?
@Byte56: Thanks for your answer, You cleared this up a lot for me! So for clarification purposes: the data basically resides in memory twice, then (on the gpu, and in main ram). Does this also hold for static meshes, or are these commonly just thrown away and reloaded when necessary?
Dec
23
awarded  Student
Dec
23
asked Why do mesh classes still contain vertex arrays if VBO's exist?