OpenSubdiv/examples/paintTest
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
main.cpp More cosmetic fixes to examples' GUI 2014-04-28 16:36:39 -07:00
paintShader.glsl Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
shader.glsl Interleaved buffer support in OsdCompute. Removed OsdVertexDescriptor and replaced with OsdVertexBufferDescriptor. 2014-05-09 15:44:52 -07:00