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

Added Google's model viewer within viewer_three.js #372

Merged
merged 10 commits into from
Sep 12, 2023

Conversation

cconsta1
Copy link
Contributor

Description

Review Time Estimate

  • Immediately
  • Within one week
  • [ X] When possible

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [X ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the CHANGELOG.md.
  • [ X] I have signed the CLA
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@CLAassistant
Copy link

CLAassistant commented Aug 13, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ lmarini
✅ cconsta1
❌ Chrysovalantis Constantinou


Chrysovalantis Constantinou seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@cconsta1
Copy link
Contributor Author

Hi! To test the changes please use the attached file containing 3D models :)
models.zip

@robkooper robkooper added this to the 1.21.0 milestone Aug 26, 2022
Copy link
Contributor Author

@cconsta1 cconsta1 left a comment

Choose a reason for hiding this comment

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

I think I must have removed the console.log

Copy link
Member

@lmarini lmarini left a comment

Choose a reason for hiding this comment

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

I noticed that when viewing .glb files the viewerport is much smaller than when viewing .fbx. Is that intentional?

Testing on firefox and chrome on mac. Otherwise it works great!

Screen Shot 2022-08-29 at 3 43 29 PM

Screen Shot 2022-08-29 at 3 43 17 PM

@cconsta1
Copy link
Contributor Author

cconsta1 commented Aug 29, 2022 via email

@lmarini
Copy link
Member

lmarini commented Aug 29, 2022

Hi Luigi, Maybe this has something to do with the fact that I now used Google’s model viewer to load the GLB files instead of the three.js library (which I used before). But no it’s not intentional. I can check tomorrow. However, I did notice the viewport getting huge, which happens when I load 3D models with the developer tools open. I don’t know why that happens to be honest. To reproduce this, please load a file with the tools open and once it loads close the dev tools. Best regards, Valentino

Sent from my iPhone
On Aug 29, 2022, at 11:48 PM, Luigi Marini @.***> wrote:  @lmarini requested changes on this pull request. I noticed that when viewing .glb files the viewerport is much smaller than when viewing .fbx. Is that intentional? Testing on firefox and chrome on mac. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

@cconsta1 I tried with developer tools open on both firefox and chrome but the same thing happens.

@cconsta1
Copy link
Contributor Author

cconsta1 commented Aug 29, 2022 via email

@lmarini
Copy link
Member

lmarini commented Aug 30, 2022 via email

@robkooper robkooper modified the milestones: 1.21.0, 1.22.0 Sep 7, 2022
@cconsta1
Copy link
Contributor Author

Hi! I think I never answered this! What do you mean by loading the CSS style at run time?

@lmarini lmarini merged commit 1e94e14 into clowder-framework:develop Sep 12, 2023
2 of 6 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.

4 participants