Slide 18
Slide 18 text
USDAの構造
#usda 1.0
(
defaultPrim = "Wall0"
metersPerUnit = 1
upAxis = "Y"
)
def Xform "Wall0" (
assetInfo = {
asset identifier = @./Wall0.usda@
string name = "Wall0"
}
customData = {
string Category = "Wall"
string UUID = "81048711-BBA3-4BE4-90CA-942061F2C13E"
}
kind = "component"
)
{
def Cube "Wall0"
{
rel material:binding =
double size = 1
double3 xformOp:scale = (7.546441078186035, 2.549999952316284, 0.00009999999747378752)
matrix4d xformOp:transform = ( (-0.41756635904312134, 0, -0.9086464643478394, 0), (0, 1.0000001192092896, 0, 0), (0.9086465239524841, 0, -0.4175664484500885, 0), (-1.1913783550262451, 0.3747645616531372, 0.13431057333946228, 1) )
uniform token[] xformOpOrder = ["xformOp:transform", "xformOp:scale"]
}
def Material "Wall0_color"
{
token outputs:surface.connect =
def Shader "surfaceShader"
{
uniform token info:id = "UsdPreviewSurface"
color3f inputs:diffuseColor = (1, 1, 1)
color3f inputs:emissiveColor = (0, 0, 0)
normal3f inputs:normal = (1, 1, 1)
float inputs:occlusion = 1
float inputs:opacity = 1
token outputs:surface
}
}
}
18