By de_duu
on Tue, 05/28/2013 - 17:11
Hi, I have an object that consists of many triangles. Then I compared the rendering processing time with VAO and VBO.With VAO I got range about 0.05 second < processing time < 0.3 secondBut the frame rate is about 2-3 per secondWith VBO I got range about 0.0002 second < processing time < 0.03 second
but the frame rate is also about 2-3 per second.What I'm wondering is why the frame rate does not increase as the processing time of rendering with VBO decreases?
processing time
Hi, are you doing other time consuming tasks in your app ?
I would recommend to measure the time consumed for the while renderFrame() method and check if you have other parts in your code that also eat time...
processing time
Hi,
No, I have checked carefully and I did not include some other computing task. When I tried to reduce half of my triangles I got up to 18 frame rate per sec.
Yeah, the processing time I measured is only draw command
processing time
Ok. One reason why you don't see correct numbers for your "processing" time (i.e. not aligned with the observed frame rate) could be that the VBO rendering is done somewhat asynchronously (i.e. it is flushed to the GPU somewhat later), so you cannot capture that.
processing time
Hi,
So, can I roughly say that using VBO does not increase the frame rate? because when I measured the consecutive frame as you said, the frame rate did not change significantly.
Thanks
processing time
That seems correct, based on your results.