tangent-opensource / blender

Tangent Animation's Blender Fork | More information ->
https://github.com/tangent-devops/tangent-blender/wiki
Other
9 stars 6 forks source link

USD Import: Visible Prims Only option #19

Open kowalskima opened 3 years ago

kowalskima commented 3 years ago

It would be useful to prune invisible prims from the traversal. I've added a Visible Prims Only import option to enable this feature. This flag only applies to prims with a non-animating visibility attribute. I.e., prims with animating visibility will always be imported.

I've pushed this change to the usd-importer-T81257-merge branch and have attached a visibilityTest.usda file for testing below.

BlenderUsdImportVisiblePrimsOnlyOption

visibilityTest.zip