OpenSubdiv/opensubdiv/osd
Takahito Tejima 4e807a776d Add Far::PatchTable::ComputeLocalPointValues() to compute endcap patch points.
To encapsulate endcap functions from public API, add methods to
tell the number of patch points needed (GetNumLocalPoints()) and
to compute those patch points as a result of change of basis from
the refined vertices (ComputeLocalPointValues()).

ComputeLocalPointValues takes contiguous source data of all levels
including level0 control vertices.
2015-05-29 12:41:22 -07:00
..
Android.mk Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
bufferDescriptor.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
clD3D11VertexBuffer.cpp Refurbish osd layer API. 2015-05-08 17:31:26 -07:00
clD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
clEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
clEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
clGLVertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
clGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
clKernel.cl Add GPU stencil/patch derivative kernels 2015-05-27 17:23:36 -07:00
clPatchTable.cpp Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
clPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
clVertexBuffer.cpp Mac build and shader compiler error fix. 2015-05-28 10:27:23 -07:00
clVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
CMakeLists.txt osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cpuD3D11VertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
cpuD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cpuEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cpuGLVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cpuGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuKernel.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cpuKernel.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cpuPatchTable.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuPatchTable.h Mac build and shader compiler error fix. 2015-05-28 10:27:23 -07:00
cpuVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaD3D11VertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cudaEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cudaEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cudaGLVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cudaKernel.cu Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
cudaPatchTable.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
d3d11ComputeEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
d3d11ComputeEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
d3d11LegacyGregoryPatchTable.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11LegacyGregoryPatchTable.h renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11Mesh.h osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
d3d11PatchTable.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11PatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
d3d11VertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
d3d11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glComputeEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
glComputeEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
glLegacyGregoryPatchTable.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
glLegacyGregoryPatchTable.h renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
glMesh.h osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
glPatchTable.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glslComputeKernel.glsl Add GPU stencil/patch derivative kernels 2015-05-27 17:23:36 -07:00
glslPatchBSpline.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchCommon.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchGregory.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchGregoryBasis.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchShaderSource.cpp Osd drawing API refactoring. 2015-05-13 17:35:46 -07:00
glslPatchShaderSource.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glslXFBKernel.glsl Mac build and shader compiler error fix. 2015-05-28 10:27:23 -07:00
glVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
glVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glXFBEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
glXFBEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
hlslComputeKernel.hlsl osd refactor: split the vertex buffer argument into src and dst 2015-05-07 16:11:00 -07:00
hlslPatchBSpline.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchCommon.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchGregory.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchGregoryBasis.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchShaderSource.cpp Add a HLSL version of GregoryBasis patch shader. 2015-05-20 10:49:45 -07:00
hlslPatchShaderSource.h Remove #pragma once 2015-05-20 09:59:18 -07:00
mesh.h Add Far::PatchTable::ComputeLocalPointValues() to compute endcap patch points. 2015-05-29 12:41:22 -07:00
nonCopyable.h Remove #pragma once 2015-05-20 09:59:18 -07:00
ompEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
ompEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
ompKernel.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
ompKernel.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
opencl.h Remove #pragma once 2015-05-20 09:59:18 -07:00
opengl.h Remove #pragma once 2015-05-20 09:59:18 -07:00
tbbEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
tbbEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
tbbKernel.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
tbbKernel.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
types.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00