rombust
11-25-2009, 10:41 AM
A new example in ClanLib 2.1 and 2.2 SVN
It draws 20,000 rotating cubes using a CL_VertexArrayBuffer
On my GPU, it runs (in Debug version) at 276fps. Without using CL_VertexArrayBuffer, it drops to 27fps.
(Note, the screenshot does not do it justice. I don't use multisampling, because it's not required when it's dynamic)
http://esoteric.clanlib.org/~rombust/ReleaseImages/VertexBuffer.png
It draws 20,000 rotating cubes using a CL_VertexArrayBuffer
On my GPU, it runs (in Debug version) at 276fps. Without using CL_VertexArrayBuffer, it drops to 27fps.
(Note, the screenshot does not do it justice. I don't use multisampling, because it's not required when it's dynamic)
http://esoteric.clanlib.org/~rombust/ReleaseImages/VertexBuffer.png