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

Blender 'model' component scale off. #104

Closed
karunakaruna opened this issue Aug 19, 2022 · 2 comments · Fixed by Hubs-Foundation/hubs#6018
Closed

Blender 'model' component scale off. #104

karunakaruna opened this issue Aug 19, 2022 · 2 comments · Fixed by Hubs-Foundation/hubs#6018
Assignees
Labels
bug Something isn't working P1 Address as quickly as possible
Milestone

Comments

@karunakaruna
Copy link

Description
A .glb referenced in a blender scene using the model-component comes in very small. An empty with a model-component must be scaled 10,000x to be the correct size in scene, for example.

To Reproduce
Create a 2m cube in blender.
Export box to .glb.
Upload .glb to github or wherever - generate link.
Create a scene with a 2m cube for reference.
Create empty in scene and add model-component - reference url to 2m cube .glb.
Duplicate this empty, and scale to 10,000 in all directions.
Export scene to .glb and view in hubs.
The cube will be so small it is not visible.
The scaled cube will be the correct size.

Expected behavior
A object exported as a .glb should import at the correct size when imported using a model-component on a 1x1y1z empty.

Screenshots
blender_2022-08-19_13-01-04

Hardware

  • Add-on Release Version: 1.0.0b
  • Blender Version: 3.2

Additional context

Scene Links, models, any other helpful context
Scene: https://github.com/karunakaruna/memory/blob/main/Hubs_Scale.blend
2m cube model: https://raw.githubusercontent.com/karunakaruna/memory/main/cube.glb

@keianhzo keianhzo added bug Something isn't working P1 Address as quickly as possible labels Oct 31, 2022
@keianhzo
Copy link
Contributor

This also happens if you load a model with the link component.

@keianhzo keianhzo added this to the 1.2.0 milestone Mar 20, 2023
@keianhzo keianhzo self-assigned this Mar 30, 2023
@keianhzo
Copy link
Contributor

This will most likely be fixed on the client side. Keeping it opened for tracking purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 Address as quickly as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants