-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo2.usda
More file actions
176 lines (163 loc) · 5.88 KB
/
Copy pathdemo2.usda
File metadata and controls
176 lines (163 loc) · 5.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
#usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (5, 0, 0)
double radius = 5
}
dictionary Perspective = {
double3 position = (478.53468688663156, 746.9208325099446, 668.5235326671027)
double3 target = (3.040221470584015, 13.296621395088664, 177.81782656251153)
}
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 metricsAssembler = {
dictionary "/World/Empire_State_NY" = {
}
int version = 1
}
dictionary omni_layer = {
string authoring_layer = "./demo2.usda"
dictionary locked = {
}
dictionary muteness = {
}
}
dictionary renderSettings = {
}
}
defaultPrim = "World"
endTimeCode = 1000000
metersPerUnit = 1
startTimeCode = 0
timeCodesPerSecond = 60
upAxis = "Z"
)
def Xform "World"
{
def "Empire_State_NY" (
prepend payload = @../../Downloads/Empire State NY.usd@
)
{
quatf xformOp:orient = (1, 0, 0, 0)
double xformOp:rotateX:unitsResolve = 90
float3 xformOp:scale = (1, 1, 1)
double3 xformOp:scale:unitsResolve = (0.01, 0.01, 0.01)
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale", "xformOp:rotateX:unitsResolve", "xformOp:scale:unitsResolve"]
}
def Xform "GroundPlane"
{
quatf xformOp:orient = (1, 0, 0, 0)
float3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
def Mesh "CollisionMesh"
{
uniform bool doubleSided = 0
int[] faceVertexCounts = [4]
int[] faceVertexIndices = [0, 1, 2, 3]
normal3f[] normals = [(0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)]
point3f[] points = [(-25, -25, 0), (25, -25, 0), (25, 25, 0), (-25, 25, 0)]
color3f[] primvars:displayColor = [(0.5, 0.5, 0.5)]
texCoord2f[] primvars:st = [(0, 0), (1, 0), (1, 1), (0, 1)] (
interpolation = "varying"
)
}
def Plane "CollisionPlane" (
prepend apiSchemas = ["PhysicsCollisionAPI"]
)
{
uniform token axis = "Z"
uniform token purpose = "guide"
}
}
def SphereLight "SphereLight" (
prepend apiSchemas = ["ShapingAPI"]
)
{
float3[] extent = [(-50, -50, -50), (50, 50, 50)]
float inputs:intensity = 30000
float inputs:radius = 50
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.5000000000000001, 0.5, 0.49999999999999994, 0.5)
double3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (341.1726797130353, 153.341469592675, 439.15544123093343)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:orient", "xformOp:scale"]
}
def DistantLight "DistantLight" (
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 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"]
}
}
over "Render" (
hide_in_stage_window = true
)
{
}
def CesiumDataPrim "Cesium"
{
prepend rel cesium:selectedIonServer = </CesiumServers/IonOfficial>
}
def CesiumGeoreferencePrim "CesiumGeoreference"
{
matrix4d cesium:ecefToUsdTransform = ( (0.9647534819407177, 0.1682239812131189, -0.20236455032458023, 0), (-0.2631553136139595, 0.6167258011721835, -0.741888513919219, 0), (2.7755575615628914e-17, 0.7689928337204038, 0.6392573986170699, 0), (-1.1260326425004901e-10, 21025.701877878048, -6371656.822771804, 1) )
}
def "CesiumServers"
{
def CesiumIonServerPrim "IonOfficial"
{
string cesium:displayName = "ion.cesium.com"
string cesium:ionServerApiUrl = "https://api.cesium.com/"
int64 cesium:ionServerApplicationId = 413
string cesium:ionServerUrl = "https://ion.cesium.com/"
}
}