Hydra: export USD preview surface for materials #110836

Manually merged
Brecht Van Lommel merged 6 commits from brecht/blender:hydra-preview-surface into main 2023-08-07 16:22:52 +02:00

6 Commits

Author SHA1 Message Date
Brecht Van Lommel 73bbc2295a Hydra: export USD preview surface for materials
buildbot/vexp-code-patch-coordinator Build done. Details
Sharing code with USD export, as a step towards making Hydra and USD more
consistent. Upcoming USD hooks will provide more control over material
export rather than always using preview surface.

Ref #110765
2023-08-07 14:37:55 +02:00
Brecht Van Lommel a6447cffb2 Refactor: add single entry point for creating USD materials 2023-08-07 14:37:55 +02:00
Brecht Van Lommel 58d6c0cd51 Refactor: move default initialization of USDExportParams to definition
Matching the default file export settings.
2023-08-07 14:37:55 +02:00
Brecht Van Lommel a5c9076ed4 Refactor: move USD hierarchy iterator out of export context
With goal of using this context in Hydra where there is no hierachy iterator.
2023-08-07 14:37:55 +02:00
Brecht Van Lommel d59f0c7bb6 USD: export hair by default
Unclear why this was disabled when all other geometry is exported.
2023-08-07 12:36:37 +02:00
Brecht Van Lommel 5b3742c26d Fix wrong render test comparison for Storm USD and Hydra 2023-08-05 16:51:50 +02:00