Use this as the main file. No matter what you choose its always green.
#usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (5, 0, 0)
double radius = 5
}
dictionary Perspective = {
double3 position = (5, 5, 5)
double3 target = (-3.978038431995401e-8, -3.978038254359717e-8, 7.95607677517296e-8)
}
dictionary Right = {
double3 position = (0, -5, 0)
double radius = 5
}
dictionary Top = {
double3 position = (0, 0, 5)
double radius = 5
}
string boundCamera = "/OmniverseKit_Persp"
}
dictionary omni_layer = {
string authoring_layer = "./variants_complex.usda"
dictionary locked = {
}
dictionary muteness = {
}
}
dictionary renderSettings = {
float3 "rtx:debugView:pixelDebug:textColor" = (0, 1e18, 0)
float3 "rtx:fog:fogColor" = (0.75, 0.75, 0.75)
float3 "rtx:index:backgroundColor" = (0, 0, 0)
float3 "rtx:index:regionOfInterestMax" = (0, 0, 0)
float3 "rtx:index:regionOfInterestMin" = (0, 0, 0)
float3 "rtx:post:backgroundZeroAlpha:backgroundDefaultColor" = (0, 0, 0)
float3 "rtx:post:colorcorr:contrast" = (1, 1, 1)
float3 "rtx:post:colorcorr:gain" = (1, 1, 1)
float3 "rtx:post:colorcorr:gamma" = (1, 1, 1)
float3 "rtx:post:colorcorr:offset" = (0, 0, 0)
float3 "rtx:post:colorcorr:saturation" = (1, 1, 1)
float3 "rtx:post:colorgrad:blackpoint" = (0, 0, 0)
float3 "rtx:post:colorgrad:contrast" = (1, 1, 1)
float3 "rtx:post:colorgrad:gain" = (1, 1, 1)
float3 "rtx:post:colorgrad:gamma" = (1, 1, 1)
float3 "rtx:post:colorgrad:lift" = (0, 0, 0)
float3 "rtx:post:colorgrad:multiply" = (1, 1, 1)
float3 "rtx:post:colorgrad:offset" = (0, 0, 0)
float3 "rtx:post:colorgrad:whitepoint" = (1, 1, 1)
float3 "rtx:post:lensDistortion:lensFocalLengthArray" = (10, 30, 50)
float3 "rtx:post:lensFlares:anisoFlareFalloffX" = (450, 475, 500)
float3 "rtx:post:lensFlares:anisoFlareFalloffY" = (10, 10, 10)
float3 "rtx:post:lensFlares:cutoffPoint" = (2, 2, 2)
float3 "rtx:post:lensFlares:haloFlareFalloff" = (10, 10, 10)
float3 "rtx:post:lensFlares:haloFlareRadius" = (75, 75, 75)
float3 "rtx:post:lensFlares:isotropicFlareFalloff" = (50, 50, 50)
float3 "rtx:post:lensFlares:spectralBlurWavelengthRange" = (380, 550, 770)
float3 "rtx:post:tonemap:whitepoint" = (1, 1, 1)
float3 "rtx:raytracing:indexdirect:svoBrickSize" = (32, 32, 32)
float3 "rtx:raytracing:inscattering:singleScatteringAlbedo" = (0.9, 0.9, 0.9)
float3 "rtx:raytracing:inscattering:transmittanceColor" = (0.5, 0.5, 0.5)
float3 "rtx:sceneDb:ambientLightColor" = (0.1, 0.1, 0.1)
double "rtx:translucency:worldEps" = 0.005
float2 "rtx:viewTile:resolution" = (0, 0)
}
}
defaultPrim = "World"
endTimeCode = 1000000
metersPerUnit = 1
startTimeCode = 0
timeCodesPerSecond = 60
upAxis = "Z"
)
over "Render" (
hide_in_stage_window = true
)
{
}
def Xform "World" (
variants = {
string color_mode = "rrr"
string number_of_items = "three"
}
prepend variantSets = ["number_of_items", "color_mode"]
)
{
def Xform "first"
{
quatd xformOp:orient = (1, 0, 0, 0)
double3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
}
def Xform "second"
{
quatd xformOp:orient = (1, 0, 0, 0)
double3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
}
def Xform "third"
{
quatd xformOp:orient = (1, 0, 0, 0)
double3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
}
variantSet "number_of_items" = {
"one" (
customData = {
string[] variantPrimPaths = ["first", "second", "third"]
}
) {
over "first" (
prepend references = @./variant_child.usda@
)
{
}
}
"three" (
customData = {
string[] variantPrimPaths = ["first", "second", "third"]
}
) {
over "first" (
prepend references = @./variant_child.usda@
)
{
}
over "second" (
prepend references = @./variant_child.usda@
)
{
}
over "third" (
prepend references = @./variant_child.usda@
)
{
}
}
"two" (
customData = {
string[] variantPrimPaths = ["first", "second", "third"]
}
) {
over "first" (
prepend references = @./variant_child.usda@
)
{
}
over "second" (
prepend references = @./variant_child.usda@
)
{
}
}
}
variantSet "color_mode" = {
"rgb" (
customData = {
string[] variantPrimPaths = ["first", "second", "third"]
}
) {
over "first" (
variants = {
string shadingVariant = "red"
}
)
{
}
over "second" (
variants = {
string shadingVariant = "red"
}
)
{
}
over "third" (
variants = {
string shadingVariant = "blue"
}
)
{
}
}
"rrr" (
customData = {
string[] variantPrimPaths = ["first", "second", "third"]
}
) {
over "first" (
variants = {
string shadingVariant = "red"
}
)
{
}
over "second" (
variants = {
string shadingVariant = "red"
}
)
{
}
over "third" (
variants = {
string shadingVariant = "red"
}
)
{
}
}
}
}