-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from beersandrew/custom-thumbnails
Custom thumbnails
- Loading branch information
Showing
7 changed files
with
102 additions
and
11 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
full_assets/ElephantWithMonochord/SoC-ElephantWithMonochord_thumbnail.usda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#usda 1.0 | ||
( | ||
framesPerSecond = 24 | ||
metersPerUnit = 1 | ||
timeCodesPerSecond = 24 | ||
defaultPrim = "Elephant" | ||
upAxis = "Y" | ||
) | ||
|
||
def "Elephant" ( | ||
kind = "component" | ||
prepend references = @SoC-ElephantWithMonochord.usdc@ | ||
) | ||
{ | ||
matrix4d xformOp:transform | ||
matrix4d xformOp:transform:xform1 = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) | ||
uniform token[] xformOpOrder = ["xformOp:transform", "xformOp:transform:xform1"] | ||
} | ||
|
||
def Xform "cameras" | ||
{ | ||
def Camera "thumbnail_camera" | ||
{ | ||
float2 clippingRange = (1, 1000000) | ||
float exposure = 0 | ||
float focalLength = 0.5 | ||
float focusDistance = 5 | ||
float fStop = 0 | ||
float horizontalAperture = 0.11787187 | ||
float horizontalApertureOffset = 0 | ||
token projection = "perspective" | ||
double shutter:close = 0.25 | ||
double shutter:open = -0.25 | ||
float verticalAperture = 0.11787187 | ||
float verticalApertureOffset = 0 | ||
matrix4d xformOp:transform = ( (0.9910474834212168, -1.570123107919041e-9, -0.13350987081288368, 0), (-0.026176251550166015, 0.9805914400857846, -0.1943070546461696, 0), (0.13091863679115867, 0.19606230548090348, 0.9718126789203039, 0), (17.011857294812835, 39.108272051296815, 132.87990243980298, 1) ) | ||
uniform token[] xformOpOrder = ["xformOp:transform"] | ||
} | ||
} | ||
|
Binary file added
BIN
+182 KB
...assets/ElephantWithMonochord/thumbnails/SoC-ElephantWithMonochord_thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+79.9 KB
(440%)
full_assets/StandardShaderBall/thumbnails/standard_shader_ball_scene.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#usda 1.0 | ||
( | ||
framesPerSecond = 24 | ||
metersPerUnit = 1 | ||
timeCodesPerSecond = 24 | ||
defaultPrim = "Cookie" | ||
upAxis = "Y" | ||
) | ||
|
||
def "Cookie" ( | ||
kind = "component" | ||
prepend references = @UsdCookie.usdz@ | ||
) | ||
{ | ||
matrix4d xformOp:transform = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) ) | ||
uniform token[] xformOpOrder = ["xformOp:transform"] | ||
} | ||
|
||
def Xform "cameras" | ||
{ | ||
def Camera "thumbnail_camera" | ||
{ | ||
float2 clippingRange = (1, 1000000) | ||
float exposure = 0 | ||
float focalLength = 0.5 | ||
float focusDistance = 5 | ||
float fStop = 0 | ||
float horizontalAperture = 0.11787187 | ||
float horizontalApertureOffset = 0 | ||
token projection = "perspective" | ||
double shutter:close = 0.25 | ||
double shutter:open = -0.25 | ||
float verticalAperture = 0.11787187 | ||
float verticalApertureOffset = 0 | ||
matrix4d xformOp:transform = ( (-0.9985086386209923, 1.2336458397248059e-8, -0.054593942880619695, 0), (0.0007695292388446494, 0.9999006566035167, -0.014074258367913763, 0), (0.054588519159280015, -0.014095280197856132, -0.9984094433909071, 0), (0.21233206980445954, -0.0450005203593666, -3.5206879489797465, 1) ) | ||
uniform token[] xformOpOrder = ["xformOp:transform"] | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters