Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-usd

Source of release 0.9.3

0.9.3 / tests / fixtures / geom / splats.usda

#usda 1.0
(
    upAxis = "Y"
)

def Xform "World"
{
    double3 xformOp:translate = (1, 2, 3)
    float3 xformOp:scale = (2, 2, 2)
    uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:scale"]

    def ParticleField3DGaussianSplat "GSplat"
    {
        point3f[] positions = [(0, 0, 0), (0, 1, 1)]
        quatf[] orientations = [(1, 0, 0, 0), (0, 0, 1, 0)]
        float3[] scales = [(1, 1, 1), (1, 0.5, 0.7)]
        float[] opacities = [1, 0.8]
        uniform int radiance:sphericalHarmonicsDegree = 2
        float3[] radiance:sphericalHarmonicsCoefficients = [
            (0, 0, 0), (0.1, 0.2, 0.3), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0.4, 0.5, 0.6),
            (1, -1, 0.5), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0)]
        uniform token projectionModeHint = "tangential"
        uniform token sortingModeHint = "cameraDistance"
    }

    def ParticleField3DGaussianSplat "Halves"
    {
        point3h[] positionsh = [(4, 0, 0)]
        quath[] orientationsh = [(0, 1, 0, 0)]
        half3[] scalesh = [(0.5, 0.5, 0.5)]
        float[] opacities = []
        uniform int radiance:sphericalHarmonicsDegree = 0
    }

    def ParticleField3DGaussianSplat "Houdini"
    {
        point3f[] positions = [(0, 0, 2), (0, 0, 3)]
        float[] opacities = [0.5, 0.25]
        uniform int radiance:sphericalHarmonicsDegree = 0
        color3f[] primvars:displayColor = [(0.25, 0.5, 1), (1, 0, 0)] (
            interpolation = "vertex"
        )
    }

    def ParticleField3DGaussianSplat "Constant"
    {
        point3f[] positions = [(5, 5, 5)]
        color3f[] primvars:displayColor = [(0.125, 0.25, 0.75)]
    }

    def Points "Dots"
    {
        point3f[] points = [(9, 9, 9)]
    }
}