hydra-rs 0.0.4

Rust bindings to OpenUSD's Hydra rendering layer: scene-index ingestion, render-delegate enumeration, headless render to RGBA via Storm.
#usda 1.0
(
    defaultPrim = "Scene"
    upAxis = "Y"
)

# Asset for hydra_render: a sphere lit by an authored distant light. Storm
# only adds a fallback headlight when there are no lights AND no materials
# either, so we author a light explicitly to keep the render predictable.

def Xform "Scene"
{
    def Sphere "Ball"
    {
        double radius = 1.5
        color3f[] primvars:displayColor = [(0.85, 0.2, 0.2)]
    }

    def DistantLight "Sun"
    {
        color3f inputs:color = (1.0, 1.0, 1.0)
        float inputs:intensity = 1.5
        float inputs:angle = 0.5
        double3 xformOp:rotateXYZ = (-45, 35, 0)
        uniform token[] xformOpOrder = ["xformOp:rotateXYZ"]
    }
}