Skip to content

USDScene : Use extentsHint to load bounds when prim.IsModel()#1474

Merged
murraystevenson merged 1 commit intoImageEngine:RB-10.5from
johnhaddon:extentsWithoutModelAPI
Jul 3, 2025
Merged

USDScene : Use extentsHint to load bounds when prim.IsModel()#1474
murraystevenson merged 1 commit intoImageEngine:RB-10.5from
johnhaddon:extentsWithoutModelAPI

Conversation

@johnhaddon
Copy link
Copy Markdown
Member

Even if the UsdGeomModelAPI that provides that attribute has not been applied. This allows us to load the bounds from certain assets exported from certain DCCs. It also follows the behaviour of UsdGeomBBoxCache, where _UseExtentsHintForPrim() checks prim.IsModel() but doesn't check the for the application of the API.

Even if the UsdGeomModelAPI that provides that attribute has not been applied. This allows us to load the bounds from certain assets exported from certain DCCs. It also follows the behaviour of UsdGeomBBoxCache, where `_UseExtentsHintForPrim()` checks `prim.IsModel()` but doesn't check the for the application of the API.
@johnhaddon johnhaddon self-assigned this Jul 3, 2025
@johnhaddon
Copy link
Copy Markdown
Member Author

Might be good to include this in a Gaffer release this week if possible.

@murraystevenson murraystevenson merged commit f1e9aa6 into ImageEngine:RB-10.5 Jul 3, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants