Shader error ?
MootoolsSoftware opened this issue · comments
Model: Netsuke_-_Shoki_capturing_an_oni.zip
Source: Sketchfab
Reproduce code:
tydra_to_renderscene.exe "Netsuke_-_Shoki_capturing_an_oni.usdz"
Parsing the following model return an error on windows:
Is this a problem in the shader or the model?
We can't decode the error and are not able to know if this is a lib limitation or conversion problem.
As the message says, outputs:rgb
is supported but outputs:r
is not yet supported in TinyUSDZ Tydra API
https://openusd.org/release/spec_usdpreviewsurface.html#texture-reader
This will be implemented along with USD to RenderMesh conversion task #109
Supported outputs:r
(and others) in recent dev
branch.
And now tydra::DumpRenderScene
prints outputChannel
parameter
$ ./tydra_to_renderscene Netsuke_-_Shoki_capturing_an_oni.usdz
...
textures {
[0] UVTexture {
primvar_name st0
outputChannel rgb
bias (0, 0, 0, 0)
scale (1, 1, 1, 1)
wrapS repeat
wrapT repeat
fallback_uv (0, 0, 0, 0)
textureImageID 0
has UsdTransform2d 0
}
[1] UVTexture {
primvar_name st0
outputChannel r
bias (0, 0, 0, 0)
scale (1, 1, 1, 1)
wrapS repeat
wrapT repeat
fallback_uv (0, 0, 0, 0)
textureImageID 1
has UsdTransform2d 0
}
[2] UVTexture {
primvar_name st0
outputChannel r
bias (0, 0, 0, 0)
scale (1, 1, 1, 1)
wrapS repeat
wrapT repeat
fallback_uv (0, 0, 0, 0)
textureImageID 2
has UsdTransform2d 0
}
}