Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenUSD is outputting to terminal #1204

Closed
mwestphal opened this issue Jan 21, 2024 · 0 comments · Fixed by #1296
Closed

OpenUSD is outputting to terminal #1204

mwestphal opened this issue Jan 21, 2024 · 0 comments · Fixed by #1296
Assignees
Labels
type:bug Something isn't working
Milestone

Comments

@mwestphal
Copy link
Contributor

Describe the bug
OpenUSD, the library used to read .usd is outputting to terminal a lot, even when reading file sucessfully, even when using --quiet

To Reproduce
Steps to reproduce the behavior:

  1. Open the file using f3d --dry-run McUsd.usdz
Warning: in BindingsAtPrim at line 705 of /__w/f3d-superbuild/f3d-superbuild/build/superbuild/openusd/src/pxr/usd/usdShade/materialBindingAPI.cpp -- Found material bindings on prim at path (/McUsd/grass_block_top) but MaterialBindingAPI is not applied on the prim
Warning: in BindingsAtPrim at line 705 of /__w/f3d-superbuild/f3d-superbuild/build/superbuild/openusd/src/pxr/usd/usdShade/materialBindingAPI.cpp -- Found material bindings on prim at path (/McUsd/dirt) but MaterialBindingAPI is not applied on the prim
Warning: in BindingsAtPrim at line 705 of /__w/f3d-superbuild/f3d-superbuild/build/superbuild/openusd/src/pxr/usd/usdShade/materialBindingAPI.cpp -- Found material bindings on prim at path (/McUsd/grass_block_side) but MaterialBindingAPI is not applied on the prim
Warning: in BindingsAtPrim at line 705 of /__w/f3d-superbuild/f3d-superbuild/build/superbuild/openusd/src/pxr/usd/usdShade/materialBindingAPI.cpp -- Found material bindings on prim at path (/McUsd/iron_block) but MaterialBindingAPI is not applied on the prim
Warning: in BindingsAtPrim at line 705 of /__w/f3d-superbuild/f3d-superbuild/build/superbuild/openusd/src/pxr/usd/usdShade/materialBindingAPI.cpp -- Found material bindings on prim at path (/McUsd/gold_block) but MaterialBindingAPI is not applied on the prim
[...]

Expected behavior
No output to terminal that is not controlled by F3D, in the case of --quiet, there should be none.

Additional context
I understand that this output can be useful when debugging and we may want to have a way to keep it on when using --verbose, but it is more important to be able to turn it off.

Check for a flag in USD to turn that off, if not, patch it out.

@mwestphal mwestphal added type:bug Something isn't working workflow:investigation labels Jan 26, 2024
@mwestphal mwestphal added this to F3D Feb 3, 2024
@mwestphal mwestphal added this to the 2.4.0 milestone Feb 4, 2024
@mwestphal mwestphal moved this to Investigate in F3D Feb 4, 2024
@Meakk Meakk moved this from Investigate to In progress in F3D Feb 28, 2024
@Meakk Meakk self-assigned this Feb 28, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in F3D Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants