Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alignment and scale options for media frames #248

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

rawnsley
Copy link
Contributor

@rawnsley rawnsley commented Nov 17, 2023

The addition of a media frame option to disable the default scale-to-fit-bounds behaviour and options to control how media should be aligned within the frame when it doesn't fill the space exactly. For example, these settings would place objects on the floor of the media frame and allow to keep their original scale:

Screenshot 2023-11-16 at 14 22 15

This companion hubs-client PR contains some concrete examples.

@Exairnous
Copy link
Contributor

Thanks for this @rawnsley !
I was hoping to test this out over the weekend, but didn't end up getting to it. I plan to test it in the next day, but it looks alright just glancing over it. The one thing that occurs to me is that I think the two if export_settings['gltf_yup']: sections could be combined.

Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution!

Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution!

@keianhzo keianhzo mentioned this pull request Dec 1, 2023
@keianhzo keianhzo merged commit 28756f2 into Hubs-Foundation:master Dec 1, 2023
@keianhzo keianhzo added this to the 1.3.0 milestone Dec 18, 2023
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.

3 participants