OpenUSD icon indicating copy to clipboard operation
OpenUSD copied to clipboard

[Usdrecord] add aov and shadingMode args to usdrecord

Open JerryKon opened this issue 2 years ago • 4 comments

Description of Change(s)

Add aov, shadingMode args for usdrecord. Below is the help text.

  --aov {color,depth,primId}
                        the aov mode to use (default=color)
  --shadingMode {points,wireframe,wireframe_on_surface,shaded_flat,shaded_smooth,geom_only,geom_flat,geom_smooth}, -sm {points,wireframe,wireframe_on_surface,shaded_flat,shaded_smooth,geom_only,geom_flat,geom_smooth}
                        the shading mode to use (default=geom_smooth)

And followings are rendered images with new usdrecord. depth aov aov_depth

wireframe_on_surface shadingMode mode_wireframe_on_surface

geom_only shadingMode mode_geomonly

wireframe_shadingMode mode_wireframe

Fixes Issue(s)

  • [ X ] I have submitted a signed Contributor License Agreement

JerryKon avatar May 08 '22 07:05 JerryKon

Filed as internal issue #USD-7362

jilliene avatar May 09 '22 17:05 jilliene

+1! I'd love to use this too, any chance it can get merged?

jonogibbs avatar Sep 01 '22 17:09 jonogibbs

We've done some overlapping work on AOV output in this PR here: https://github.com/PixarAnimationStudios/USD/pull/2145

creijon avatar Jan 23 '23 08:01 creijon

This would be a great feature to have merged in.

jamesdeschenes avatar Apr 03 '24 17:04 jamesdeschenes