Add stb_image.

Suppress clang warnings.
This commit is contained in:
Syoyo Fujita
2020-04-09 16:48:43 +09:00
parent 849c808959
commit eef559fb8b
6 changed files with 7766 additions and 20 deletions

67
doc/preview_surface.md Normal file
View File

@@ -0,0 +1,67 @@
# PreviewSurface
https://graphics.pixar.com/usd/docs/UsdPreviewSurface-Proposal.html
## Inputs
* diffuseColor - color3f - (0.18, 0.18, 0.18)
* emissiveColor - color3f - (0.0, 0.0, 0.0)
* useSpeclarWorkflow - int - 0
* 1
* specularColor - color3f - (0.0, 0.0, 0.0)
* 0
* metallic - float - 0.0
* roughness - float - 0.5
* clearcoat - float - 0.0
* clearcoatRoughness - float 0.01
* opacity - float - 1.0
* opacityThreshold - float - 0.0
* ior - float - 1.5
* normal - normal3f - (0.0, 0.0, 1.0)
* displacement - float - 0.0
* occlusion - float - 1.0
## Outputs
* surface - token
* displacement - token
## UsdUVTexture
### Inputs
* file - asset - string
* st - float2 - (0.0, 0.0)
* wrapS - token - useMetadata
* black, clamp, repeat, mirror,
* wrapT - token = useMetadata
* fallback - float4 - (0.0, 0.0, 0.0, 1.0)
* scale - float4 - (1.0, 1.0, 1.0, 1.0)
* bias - float4 - (0.0, 0.0, 0.0, 0.0)
### Outputs
* r, g, b, a
## UsdTransform2d
### Inputs
* in - float2 - (0.0, 0.0)
* rotation - float - (0.0)
* counter-clockwise rotation in degrees around the origin
* scale - float2 - (1.0, 1.0)
* translation - float2 (0.0, 0.0)
### Outpuits
* result - float2
## TODO
* [ ] Primvar Reader(arbitrary vertex attributes)
* [ ] displacement
* [ ] Texture transform