News for hackers. Stuff that matters.
Re:WebGL Terrain Flyover Demo by angersock on Sunday March 10, 2013 @06:42PM (#5353863)
Out of curiosity, do you use dynamic index buffers to accomplish the geomipmapping, or do you just trample the vertex buffers every frame?
Re:WebGL Terrain Flyover Demo by nestoras on Monday March 11, 2013 @06:03AM (#5355782)
There is only one vertex buffer per patch that contains all of the vertices. Index buffers are being used, all of them pre-generated of course and uploaded to the graphics card. Rendering a patch then becomes a simple matter of selecting the right index buffer (or index buffers, since stitching requires more than one drawing call).
Re:WebGL Terrain Flyover Demo by angersock on Monday March 11, 2013 @09:11PM (#5359413)
Ah, nice!