all  /  test_assets  / schemaTests  / usdGeom  / meshes  / subdiv_catmullClark  / subdiv_catmullClark .usda

CatmullClark Subdivision

Screenshot

screenshot usdrecord 22.08

Description

This mesh is using catmullClark subdivision.

uniform token subdivisionScheme = "catmullClark"

Schema specification: https://github.com/PixarAnimationStudios/USD/blob/release/pxr/usd/usdGeom/schema.usda


Edit this page

subdiv_catmullClark.usda

#usda 1.0
(
    customLayerData = {
        string copyright = "Copyright 2022 Apple Inc. All rights reserved."
    }
    defaultPrim = "mesh"
    upAxis = "Y"
    metersPerUnit = 0.01
)

def Mesh "mesh"
{
    float3[] extent = [(-0.5, -0.5, -0.5), (0.5, 0.5, 0.5)]
    int[] faceVertexCounts = [4, 4, 4, 4, 4, 4]
    int[] faceVertexIndices = [0, 4, 6, 2, 0, 1, 5, 4, 4, 5, 7, 6, 3, 7, 5, 1, 6, 7, 3, 2, 2, 3, 1, ... (truncated)]
    point3f[] points = [(-0.5, -0.5, -0.5), (0.5, -0.5, -0.5), (-0.5, 0.5, -0.5), (0.5, 0.5, -0.5), ... (truncated)]
    uniform token subdivisionScheme = "catmullClark"
}