dymokomi/luce-usd
Source of release 0.9.2
0.9.2 / tests / fixtures / geom / instancer.usda
#usda 1.0
def PointInstancer "Forest"
{
int64[] invisibleIds = [2]
quath[] orientations = [(1, 0, 0, 0), (0.7071, 0, 0, 0.7071), (1, 0, 0, 0)]
point3f[] positions = [(1, 0, 0), (2, 0, 0), (3, 0, 0)]
int[] protoIndices = [0, 1, 0]
rel prototypes = [
</Forest/Protos/Tree>,
</Forest/Protos/Rock>,
]
float3[] scales = [(1, 1, 1), (2, 2, 2), (1, 1, 1)]
double3 xformOp:translate = (0, 0, 10)
uniform token[] xformOpOrder = ["xformOp:translate"]
def Scope "Protos"
{
def Mesh "Tree"
{
int[] faceVertexCounts = [3]
int[] faceVertexIndices = [0, 1, 2]
point3f[] points = [(0, 0, 0), (1, 0, 0), (0, 1, 0)]
}
def Cube "Rock"
{
double size = 1
}
}
}