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

Loop Subdivision - Quads

Screenshot

screenshot usdrecord 22.08

Description

This quad mesh is using loop subdivision.

uniform token subdivisionScheme = "loop"

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


Edit this page

subdiv_loop_quads.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 = "loop"
}