-
Notifications
You must be signed in to change notification settings - Fork 824
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
Add gltf sample viewer #1962
Add gltf sample viewer #1962
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
1 similar comment
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Thanks, glad to see this! It looks like you may need to run |
@googlebot I signed it! |
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
|
I'm guessing you just did something in the wrong order. You have an updated package-lock file, but it's at the root where you didn't change the package.json. Go ahead and revert that file. Since you've made a change to package.json in the fidelity package, that's the package-lock file that should change when you run |
After you've made these changes, test it by running |
I reverted all my package.lock.json files but the error ('@google/model-viewer-shared-assets@^0.0.1' is not in the npm registry.) still appears. I tried deleting all node_modules and executing |
dae3551
to
df60f4a
Compare
shared-assets is just another sub-package of our repo, so you've already got it. Can you be very specific about what commands you're running in which directories? It sounds like you might be down in a package when you should be at the repo root. |
…ampleViewer # Conflicts: # packages/render-fidelity-tools/package-lock.json # packages/render-fidelity-tools/package.json
I created all goldens yesterday and run the test, and now it seems to work. I'm not exactly sure what changed. |
Great, thanks! Now that the unit tests are passing, I'll update the screenshots and push them for you. |
I don't have access to your fork, so I pushed my own version with the updated goldens: #1990, so you can look there. Did you actually look at the renders you were producing and compare them to the others? Things that need work:
|
Thanks. Yes the npm package is still in development and should be finished in the next two weeks. I already resolved most of the issues locally, but I have to wait until we update the package. I will comment again when this is finalized. Should I work on your PR or on this one? I can also give you access to our fork |
No problem. Might be easiest to work on this branch and give me access to your fork. |
I sadly cannot give you access to our fork, since we would need to pay for this. So it would be good if you create a new PR with the goldens when all is updated. |
Okay, to make this simple how about you go ahead and upload your own goldens when they're ready (even if they have the scrollbars). That will allow us to do the visual inspections. I'll do a separate PR after that's merged to update them and get rid of the scrollbars. Are you familiar with using our results viewer to see the side-by-sides in your local commit? As for the CLA, the issue is almost always with email address, as that's how the googlebot tracks a given user. Check that all of your commits were authored with the same Git email that you used to sign the CLA. If you don't set |
Yes I'm familiar with the tests/html page. I will upload the goldens tomorrow or on Friday. For the CLA, I checked all commits so the user.email should not be a problem. Maybe there is a conflict, because we first tried to sign the employer CLA, but that didn't seem to work. Therefore, I also signed the personal one. Can I somehow get a more useful error message? Maybe with the google-cla bot? |
@googlebot I signed it! |
Looks like the CLA is happy now; must have just not refreshed. |
# Conflicts: # packages/render-fidelity-tools/package-lock.json # packages/render-fidelity-tools/package.json
I uploaded the goldens, but there is currently an issue with blending which will be resolved on Monday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks!
I have updated the gltf sample viewer version. I did not upload the new goldens since they need to be redone anyways. |
@UX3D-haertl Thanks, see the comments on #2018; I need these issues addressed so that our comparisons can be useful. Thanks! |
This PR integrates the current alpha version (published to npm) of the gltf-sample-viewer from Khronos into the render fidelity tools.
I did not include the golden screenshots, since on my machine the scrollbar is visible on the right side. This also happens for me with the babylon and filament renderers. There is already an issue for filament: #720
Furthermore, I suppressed a typescript error during importing the npm package (error TS7016: Could not find a declaration file), which seems to appear if someone wants to import js into ts. I did not see how this was solved with the other renderers.