Fix T103354: Author extents on UsdGeomMesh #104676

Merged
Sybren A. Stüvel merged 6 commits from wave/blender_wave_Apple:contribs/T103354_author_extents into main 2023-02-14 12:12:05 +01:00

6 Commits

Author SHA1 Message Date
Sybren A. Stüvel 031e84994b Merge branch 'main' into contribs/T103354_author_extents 2023-02-14 11:55:45 +01:00
Matt McLin e3d170cd95 Updates from Sybren code review 2023-02-13 08:45:50 -08:00
Matt McLin 5089928eb0 Add unit test for authoring extent. Also apply additional formatting changes suggested during review.
Requires the following new files:
lib/tests/usd/usd_extent_test.blend
lib/tests/usd/textures/small_cloud.vdb
2023-02-09 08:55:57 -08:00
Dhruv Govil a60f0ec2c8 Add USD Export Python Test
Initial test uses USD Compliance Checker to validate an exported USD file. Test includes the ability to skip certain tests if so desired.

Requires https://developer.blender.org/D17041 to be merged before it will succeed.

The test asset used does not cover https://developer.blender.org/D17072 as we'll need to craft a test asset for that, and we need to work through that process first. I don't think that should hold up this CI test being integrated, since it wouldn't change the test itself.
2023-02-09 08:55:57 -08:00
Matt McLin be1c115617 Update to comments as requested by Sybren 2023-02-09 08:55:57 -08:00
Matt McLin 67136bfcfe Fix T103354: Author extents on UsdGeomMesh
* Author extent attribute on all meshes
* Move extent authoring to USDAbstractWriter, add support for hair and volumes

Code review changes: use Blender's own bounds cache for meshes
2023-02-09 08:55:57 -08:00