opensubdiv/3.6.0

An Open-Source subdivision surface library
Recipe info
LicenseRef-LICENSE.txt
2023-10-24

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
opensubdiv/3.6.0

Using opensubdiv

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
opensubdiv/3.6.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("opensubdiv/3.6.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): OpenSubdiv
  • CMake target name(s): opensubdiv::opensubdiv
  • osdcpu => OpenSubdiv::osdcpu_static
    
  • pkg-config file name(s): opensubdiv.pc
  • osdcpu => opensubdiv-osdcpu.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(OpenSubdiv REQUIRED)
# ...
target_link_libraries(YOUR_TARGET opensubdiv::opensubdiv)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the opensubdiv homepage listed above:

#include "opensubdiv/bfr/irregularPatchType.h"
#include "opensubdiv/bfr/limits.h"
#include "opensubdiv/bfr/parameterization.h"
#include "opensubdiv/bfr/refinerSurfaceFactory.h"
#include "opensubdiv/bfr/surface.h"
#include "opensubdiv/bfr/surfaceData.h"
#include "opensubdiv/bfr/surfaceFactory.h"
#include "opensubdiv/bfr/surfaceFactoryCache.h"
#include "opensubdiv/bfr/surfaceFactoryMeshAdapter.h"
#include "opensubdiv/bfr/tessellation.h"
#include "opensubdiv/bfr/vertexDescriptor.h"
#include "opensubdiv/far/error.h"
#include "opensubdiv/far/patchDescriptor.h"
#include "opensubdiv/far/patchMap.h"
#include "opensubdiv/far/patchParam.h"
#include "opensubdiv/far/patchTable.h"
#include "opensubdiv/far/patchTableFactory.h"
#include "opensubdiv/far/primvarRefiner.h"
#include "opensubdiv/far/ptexIndices.h"
#include "opensubdiv/far/stencilTable.h"
#include "opensubdiv/far/stencilTableFactory.h"
#include "opensubdiv/far/topologyDescriptor.h"
#include "opensubdiv/far/topologyLevel.h"
#include "opensubdiv/far/topologyRefiner.h"
#include "opensubdiv/far/topologyRefinerFactory.h"
#include "opensubdiv/far/types.h"
#include "opensubdiv/hbr/allocator.h"
#include "opensubdiv/hbr/bilinear.h"
#include "opensubdiv/hbr/catmark.h"
#include "opensubdiv/hbr/cornerEdit.h"
#include "opensubdiv/hbr/creaseEdit.h"
#include "opensubdiv/hbr/face.h"
#include "opensubdiv/hbr/faceEdit.h"
#include "opensubdiv/hbr/fvarData.h"
#include "opensubdiv/hbr/fvarEdit.h"
#include "opensubdiv/hbr/halfedge.h"
#include "opensubdiv/hbr/hierarchicalEdit.h"
#include "opensubdiv/hbr/holeEdit.h"
#include "opensubdiv/hbr/loop.h"
#include "opensubdiv/hbr/mesh.h"
#include "opensubdiv/hbr/subdivision.h"
#include "opensubdiv/hbr/vertex.h"
#include "opensubdiv/hbr/vertexEdit.h"
#include "opensubdiv/osd/bufferDescriptor.h"
#include "opensubdiv/osd/cpuEvaluator.h"
#include "opensubdiv/osd/cpuPatchTable.h"
#include "opensubdiv/osd/cpuVertexBuffer.h"
#include "opensubdiv/osd/mesh.h"
#include "opensubdiv/osd/nonCopyable.h"
#include "opensubdiv/osd/opengl.h"
#include "opensubdiv/osd/patchBasis.h"
#include "opensubdiv/osd/patchBasisTypes.h"
#include "opensubdiv/osd/types.h"
#include "opensubdiv/sdc/bilinearScheme.h"
#include "opensubdiv/sdc/catmarkScheme.h"
#include "opensubdiv/sdc/crease.h"
#include "opensubdiv/sdc/loopScheme.h"
#include "opensubdiv/sdc/options.h"
#include "opensubdiv/sdc/scheme.h"
#include "opensubdiv/sdc/types.h"
#include "opensubdiv/version.h"
#include "opensubdiv/vtr/array.h"
#include "opensubdiv/vtr/componentInterfaces.h"
#include "opensubdiv/vtr/fvarLevel.h"
#include "opensubdiv/vtr/fvarRefinement.h"
#include "opensubdiv/vtr/level.h"
#include "opensubdiv/vtr/refinement.h"
#include "opensubdiv/vtr/sparseSelector.h"
#include "opensubdiv/vtr/stackBuffer.h"
#include "opensubdiv/vtr/types.h"