|
|
#usda 1.0 |
|
|
( |
|
|
customLayerData = { |
|
|
dictionary cameraSettings = { |
|
|
dictionary Front = { |
|
|
double3 position = (5, 0, 0) |
|
|
double radius = 5 |
|
|
} |
|
|
dictionary Perspective = { |
|
|
double3 position = (2.576224831211993, 2.483832514542173, 2.2764495186016065) |
|
|
double3 target = (-2.1708436994439606, -2.418746356854898, -3.0555351752049296) |
|
|
} |
|
|
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 = "./g60_kitchen_table_zed.usd" |
|
|
dictionary locked = { |
|
|
} |
|
|
dictionary muteness = { |
|
|
} |
|
|
} |
|
|
dictionary renderSettings = { |
|
|
} |
|
|
} |
|
|
defaultPrim = "World" |
|
|
endTimeCode = 1000000 |
|
|
metersPerUnit = 1 |
|
|
startTimeCode = 0 |
|
|
timeCodesPerSecond = 60 |
|
|
upAxis = "Z" |
|
|
) |
|
|
|
|
|
def Xform "World" |
|
|
{ |
|
|
def "g60_kitchen_table_zed" ( |
|
|
delete payload = @../../assets/g60_kitchen_table_zed/mesh.usdz@ |
|
|
prepend payload = @./assets/g60_kitchen_table_zed/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 1 |
|
|
quatd xformOp:orient = (0.0069501640146002975, 0.0000020098868016692203, -0.0002891785243121244, -0.9999758055032691) |
|
|
double3 xformOp:scale = (1, 1, 1) |
|
|
double3 xformOp:translate = (-0.23996217709738163, -0.23876804994724557, 7.904800277648001e-14) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "geometry" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysxConvexDecompositionCollisionAPI", "PhysxTriangleMeshSimplificationCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "meshSimplification" |
|
|
int physxConvexDecompositionCollision:maxConvexHulls = 207 |
|
|
} |
|
|
|
|
|
over "Looks" |
|
|
{ |
|
|
over "BakeMat" |
|
|
{ |
|
|
over "BakeMat" |
|
|
{ |
|
|
float inputs:emissive_strength ( |
|
|
customData = { |
|
|
dictionary omni = { |
|
|
dictionary kit = { |
|
|
dictionary property = { |
|
|
dictionary usd = { |
|
|
float2 soft_range_ui = (0, 10000) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
def "tray" ( |
|
|
active = true |
|
|
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysxRigidBodyAPI"] |
|
|
delete payload = @../../assets/green_tray_csm/mesh.usdz@ |
|
|
prepend payload = @./assets/green_tray/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 0 |
|
|
bool physics:rigidBodyEnabled = 1 |
|
|
quatf xformOp:orient = (1, 0, 0, 0) |
|
|
float3 xformOp:scale = (0.28, 0.28, 0.28) |
|
|
double3 xformOp:translate = (0.3517783956667713, 0.09136301147498842, 0.05371089447294813) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "mesh" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysxCollisionAPI", "PhysxConvexHullCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxConvexDecompositionCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "convexDecomposition" |
|
|
bool physics:collisionEnabled = 1 |
|
|
} |
|
|
} |
|
|
|
|
|
over "env_light" ( |
|
|
active = false |
|
|
) |
|
|
{ |
|
|
} |
|
|
} |
|
|
|
|
|
def "wood_cube" ( |
|
|
active = true |
|
|
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysxRigidBodyAPI"] |
|
|
delete payload = @../../assets/wood_cube_csm/mesh.usdz@ |
|
|
prepend payload = @./assets/wood_cube/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 0 |
|
|
bool physics:rigidBodyEnabled = 1 |
|
|
quatf xformOp:orient = (1, 0, 0, 0) |
|
|
float3 xformOp:scale = (0.06, 0.06, 0.06) |
|
|
double3 xformOp:translate = (0.41919292386568763, -0.09747371822595585, 0.07723409933417806) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "mesh" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysxCollisionAPI", "PhysxConvexHullCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxConvexDecompositionCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "convexDecomposition" |
|
|
bool physics:collisionEnabled = 1 |
|
|
} |
|
|
} |
|
|
|
|
|
over "env_light" ( |
|
|
active = false |
|
|
) |
|
|
{ |
|
|
} |
|
|
} |
|
|
|
|
|
def "green_cube" ( |
|
|
active = true |
|
|
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysxRigidBodyAPI"] |
|
|
delete payload = @../../assets/green_cube_csm/mesh.usdz@ |
|
|
prepend payload = @./assets/green_cube/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 0 |
|
|
bool physics:rigidBodyEnabled = 1 |
|
|
quatf xformOp:orient = (1, 0, 0, 0) |
|
|
float3 xformOp:scale = (0.06, 0.06, 0.06) |
|
|
double3 xformOp:translate = (0.3208774626255044, -0.11194607066881795, 0.0804820482926792) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "mesh" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysxCollisionAPI", "PhysxConvexHullCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxConvexDecompositionCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "convexDecomposition" |
|
|
bool physics:collisionEnabled = 1 |
|
|
} |
|
|
} |
|
|
|
|
|
over "env_light" ( |
|
|
active = false |
|
|
) |
|
|
{ |
|
|
} |
|
|
} |
|
|
|
|
|
def "corn" ( |
|
|
active = true |
|
|
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysxRigidBodyAPI"] |
|
|
delete payload = @../../assets/uw_corn_csm/mesh.usdz@ |
|
|
prepend payload = @./assets/uw_corn/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 0 |
|
|
bool physics:rigidBodyEnabled = 1 |
|
|
quatf xformOp:orient = (1, 0, 0, 0) |
|
|
float3 xformOp:scale = (0.08, 0.08, 0.08) |
|
|
double3 xformOp:translate = (0.3024292290210789, 0.09045923170297229, 0.1857603951949213) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "mesh" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysxCollisionAPI", "PhysxConvexHullCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxConvexDecompositionCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "convexDecomposition" |
|
|
bool physics:collisionEnabled = 1 |
|
|
} |
|
|
} |
|
|
|
|
|
over "env_light" ( |
|
|
active = false |
|
|
) |
|
|
{ |
|
|
} |
|
|
} |
|
|
|
|
|
def Camera "external_cam" ( |
|
|
active = true |
|
|
kind = "model" |
|
|
) |
|
|
{ |
|
|
float2 clippingRange = (0.01, 10000000) |
|
|
float focalLength = 1.0476 |
|
|
float focusDistance = 400 |
|
|
float horizontalAperture = 2.5452 |
|
|
custom uniform vector3d omni:kit:centerOfInterest = (0, 0, -400) |
|
|
float verticalAperture = 1.4721 |
|
|
quatd xformOp:orient = (-0.18638744234988988, -0.08227126821690181, 0.39534108352818365, 0.8956542789687387) |
|
|
double3 xformOp:scale = (1, 1, 1) |
|
|
double3 xformOp:translate = (0.103138036136151, 0.44065167674638817, 0.49744863088661717) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "OmniverseKitViewportCameraMesh" ( |
|
|
always_pick_model = true |
|
|
hide_in_stage_window = true |
|
|
kind = "subcomponent" |
|
|
no_delete = true |
|
|
prepend references = @../../../.venv/lib/python3.10/site-packages/omni/resources/models/camera/camera.usdz@ |
|
|
) |
|
|
{ |
|
|
bool primvars:doNotCastShadows = 1 |
|
|
bool primvars:omni:kit:isGizmo = 1 |
|
|
token visibility |
|
|
float3 xformOp:scale = (0.01, 0.01, 0.01) |
|
|
uniform token[] xformOpOrder = ["xformOp:scale"] |
|
|
|
|
|
over "CameraModel" ( |
|
|
always_pick_model = true |
|
|
hide_in_stage_window = true |
|
|
no_delete = true |
|
|
) |
|
|
{ |
|
|
float3[] extent = [(3.4028235e38, 3.4028235e38, 3.4028235e38), (-3.4028235e38, -3.4028235e38, -3.4028235e38)] |
|
|
bool primvars:doNotCastShadows = 1 |
|
|
bool primvars:omni:kit:isGizmo = 1 |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
def "bowl" ( |
|
|
active = true |
|
|
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysxRigidBodyAPI"] |
|
|
delete payload = @../../assets/pink_bowl_csm/mesh.usdz@ |
|
|
prepend payload = @./assets/pink_bowl/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 0 |
|
|
bool physics:rigidBodyEnabled = 1 |
|
|
quatf xformOp:orient = (1, 0, 0, 0) |
|
|
float3 xformOp:scale = (0.13, 0.13, 0.13) |
|
|
double3 xformOp:translate = (0.5336140386925854, 0.11516009020424095, 0.06645985800557358) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "mesh" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysxCollisionAPI", "PhysxConvexHullCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxConvexDecompositionCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "convexDecomposition" |
|
|
bool physics:collisionEnabled = 1 |
|
|
} |
|
|
} |
|
|
|
|
|
over "env_light" ( |
|
|
active = false |
|
|
) |
|
|
{ |
|
|
} |
|
|
} |
|
|
|
|
|
def "tomato" ( |
|
|
active = true |
|
|
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysxRigidBodyAPI"] |
|
|
delete payload = @../../assets/tomato_csm/mesh.usdz@ |
|
|
prepend payload = @./assets/tomato/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 0 |
|
|
bool physics:rigidBodyEnabled = 1 |
|
|
quatf xformOp:orient = (1, 0, 0, 0) |
|
|
float3 xformOp:scale = (0.06, 0.06, 0.06) |
|
|
double3 xformOp:translate = (0.3722157695699017, -0.015744171924207098, 0.1668820572717904) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "mesh" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysxCollisionAPI", "PhysxConvexHullCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxConvexDecompositionCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "convexDecomposition" |
|
|
bool physics:collisionEnabled = 1 |
|
|
} |
|
|
} |
|
|
|
|
|
over "env_light" ( |
|
|
active = false |
|
|
) |
|
|
{ |
|
|
} |
|
|
} |
|
|
|
|
|
def "plate_" ( |
|
|
active = true |
|
|
prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysxRigidBodyAPI"] |
|
|
delete payload = @../../assets/purple_plate_csm/mesh.usdz@ |
|
|
prepend payload = @./assets/purple_plate/mesh.usdz@ |
|
|
) |
|
|
{ |
|
|
bool physics:kinematicEnabled = 0 |
|
|
bool physics:rigidBodyEnabled = 1 |
|
|
quatf xformOp:orient = (1, 0, 0, 0) |
|
|
float3 xformOp:scale = (0.13, 0.13, 0.13) |
|
|
double3 xformOp:translate = (0.47936457938369215, -0.0038916438062898406, 0.1738220553802526) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
|
|
|
over "env_light" |
|
|
{ |
|
|
token visibility = "invisible" |
|
|
} |
|
|
|
|
|
over "mesh" |
|
|
{ |
|
|
over "mesh" ( |
|
|
prepend apiSchemas = ["PhysicsCollisionAPI", "PhysxCollisionAPI", "PhysxConvexHullCollisionAPI", "PhysicsMeshCollisionAPI", "PhysxConvexDecompositionCollisionAPI"] |
|
|
) |
|
|
{ |
|
|
uniform token physics:approximation = "convexDecomposition" |
|
|
bool physics:collisionEnabled = 1 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
def Xform "Environment" |
|
|
{ |
|
|
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 DistantLight "defaultLight" ( |
|
|
prepend apiSchemas = ["ShapingAPI"] |
|
|
) |
|
|
{ |
|
|
float inputs:angle = 1 |
|
|
float inputs:intensity = 3000 |
|
|
float inputs:shaping:cone:angle = 180 |
|
|
float inputs:shaping:cone:softness |
|
|
float inputs:shaping:focus |
|
|
color3f inputs:shaping:focusTint |
|
|
asset inputs:shaping:ies:file |
|
|
quatd xformOp:orient = (0.6532814824381883, 0.2705980500730985, 0.27059805007309845, 0.6532814824381882) |
|
|
double3 xformOp:scale = (1, 1, 1) |
|
|
double3 xformOp:translate = (0, 0, 0) |
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"] |
|
|
} |
|
|
} |
|
|
|
|
|
def "Render" ( |
|
|
hide_in_stage_window = true |
|
|
no_delete = true |
|
|
) |
|
|
{ |
|
|
def "OmniverseKit" |
|
|
{ |
|
|
def "HydraTextures" ( |
|
|
hide_in_stage_window = true |
|
|
no_delete = true |
|
|
) |
|
|
{ |
|
|
def RenderProduct "omni_kit_widget_viewport_ViewportTexture_0" ( |
|
|
prepend apiSchemas = ["OmniRtxSettingsCommonAdvancedAPI_1", "OmniRtxSettingsRtAdvancedAPI_1", "OmniRtxSettingsPtAdvancedAPI_1", "OmniRtxPostColorGradingAPI_1", "OmniRtxPostChromaticAberrationAPI_1", "OmniRtxPostBloomPhysicalAPI_1", "OmniRtxPostMatteObjectAPI_1", "OmniRtxPostCompositingAPI_1", "OmniRtxPostDofAPI_1", "OmniRtxPostMotionBlurAPI_1", "OmniRtxPostTvNoiseAPI_1", "OmniRtxPostTonemapIrayReinhardAPI_1", "OmniRtxPostDebugSettingsAPI_1", "OmniRtxDebugSettingsAPI_1"] |
|
|
hide_in_stage_window = true |
|
|
no_delete = true |
|
|
) |
|
|
{ |
|
|
rel camera = </OmniverseKit_Persp> |
|
|
token omni:rtx:background:source:texture:textureMode = "repeatMirrored" |
|
|
token omni:rtx:background:source:type = "domeLight" |
|
|
bool omni:rtx:dlss:frameGeneration = 0 |
|
|
bool omni:rtx:material:db:nonVisualMaterialCSV:enabled = 0 |
|
|
bool omni:rtx:material:db:syncLoads = 1 |
|
|
token omni:rtx:post:dlss:execMode = "performance" |
|
|
bool omni:rtx:post:registeredCompositing:invertColorCorrection = 1 |
|
|
bool omni:rtx:post:registeredCompositing:invertToneMap = 1 |
|
|
bool omni:rtx:pt:lightcache:cached:dontResolveConflicts = 1 |
|
|
int omni:rtx:pt:maxSamplesPerLaunch = 2073600 |
|
|
int omni:rtx:pt:mgpu:maxPixelsPerRegionExponent = 12 |
|
|
int omni:rtx:realtime:mgpu:tileCount = 2 |
|
|
color3f omni:rtx:rt:ambientLight:color = (0.1, 0.1, 0.1) |
|
|
bool omni:rtx:rt:demoire = 0 |
|
|
bool omni:rtx:rt:lightcache:spatialCache:dontResolveConflicts = 1 |
|
|
bool omni:rtx:scene:hydra:materialSyncLoads = 1 |
|
|
bool omni:rtx:scene:hydra:mdlMaterialWarmup = 1 |
|
|
uint omni:rtx:viewTile:limit = 4294967295 |
|
|
rel orderedVars = </Render/Vars/LdrColor> |
|
|
custom bool overrideClipRange = 0 |
|
|
uniform int2 resolution = (1280, 720) |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
def RenderSettings "OmniverseGlobalRenderSettings" ( |
|
|
prepend apiSchemas = ["OmniRtxSettingsGlobalRtAdvancedAPI_1", "OmniRtxSettingsGlobalPtAdvancedAPI_1"] |
|
|
no_delete = true |
|
|
) |
|
|
{ |
|
|
rel products = </Render/OmniverseKit/HydraTextures/omni_kit_widget_viewport_ViewportTexture_0> |
|
|
} |
|
|
|
|
|
def "Vars" |
|
|
{ |
|
|
def RenderVar "LdrColor" ( |
|
|
hide_in_stage_window = true |
|
|
no_delete = true |
|
|
) |
|
|
{ |
|
|
uniform string sourceName = "LdrColor" |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|