OpenSubdiv/examples/glBatchViewer
Takahito Tejima ee061291b7 Interleaved buffer support in OsdCompute. Removed OsdVertexDescriptor and replaced with OsdVertexBufferDescriptor.
All kernels take offset/length/stride to apply subdivision partially in each vertex elements.

Also the offset can be used for client-based VBO aggregation, without modifying index buffers.
This is useful for topology sharing, in conjunction with glDrawElementsBaseVertex etc.
However, gregory patch shader fetches vertex buffer via texture buffer, which index should also
be offsetted too. Although gl_BaseVertexARB extension should be able to do that job, it's a
relatively new extension. So we use OsdBaseVertex() call to mitigate the compatibility
issue as clients can provide it in their way at least for the time being.
2014-05-09 15:44:52 -07:00
..
CMakeLists.txt One more fix for the Linux cmake build 2014-04-11 18:33:11 -07:00
delegate.cpp Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
delegate.h Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
effect.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
effect.h Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
effectRegistry.cpp Improve stringification of shaders & kernels in build. 2014-01-03 16:59:26 -08:00
effectRegistry.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
shader_gl3.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
shader.glsl Interleaved buffer support in OsdCompute. Removed OsdVertexDescriptor and replaced with OsdVertexBufferDescriptor. 2014-05-09 15:44:52 -07:00
shapes.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
viewer.cpp Add tbb kernel to glBatchViewer 2014-05-09 15:44:52 -07:00