diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-25 16:05:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-25 16:11:56 +0300 |
commit | f1e68474e051667b85ac804bded8fa2c8e0ff374 (patch) | |
tree | 9e3470179f56bff64807d944ad8af32141fcbc45 /intern/opensubdiv/opensubdiv_converter_capi.h | |
parent | 50917edad54d2be0f5e3a6630382e28ab1fd32e0 (diff) |
OpenSubdiv: Support for multiple materials in solid shading mode
Implementation is less optimal compared to non-opensubdiv drawing but
it is now as good as we can do it without affecting on how patches are
being created by OpenSubdiv.
Diffstat (limited to 'intern/opensubdiv/opensubdiv_converter_capi.h')
-rw-r--r-- | intern/opensubdiv/opensubdiv_converter_capi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern/opensubdiv/opensubdiv_converter_capi.h b/intern/opensubdiv/opensubdiv_converter_capi.h index 7c96d3d8b96..ac1e8301a42 100644 --- a/intern/opensubdiv/opensubdiv_converter_capi.h +++ b/intern/opensubdiv/opensubdiv_converter_capi.h @@ -94,7 +94,7 @@ void openSubdiv_deleteTopologyRefinerDescr( OpenSubdiv_TopologyRefinerDescr *topology_refiner); /* TODO(sergey): Those calls are not strictly related on conversion. - * needs some dedicated fiel perhaps. + * needs some dedicated file perhaps. */ int openSubdiv_topologyRefinerGetSubdivLevel( @@ -109,6 +109,10 @@ int openSubdiv_topologyRefinerGetNumEdges( int openSubdiv_topologyRefinerGetNumFaces( const OpenSubdiv_TopologyRefinerDescr *topology_refiner); +int openSubdiv_topologyRefinerGetNumFaceVerts( + const OpenSubdiv_TopologyRefinerDescr *topology_refiner, + int face); + int openSubdiv_topologyRefnerCompareConverter( const OpenSubdiv_TopologyRefinerDescr *topology_refiner, OpenSubdiv_Converter *converter); |