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

Upgrade ThreeJS and use WebGL 2 #6350

Merged
merged 84 commits into from
Aug 4, 2022
Merged

Upgrade ThreeJS and use WebGL 2 #6350

merged 84 commits into from
Aug 4, 2022

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented Jul 25, 2022

Summary

The screenshots have slightly thicker borders (the red, green, blue ones) now apparently:
old:
image

new:
image

I'm not sure whether this is only in the screenshot tests or for the normal browser setup, too. However, I don't think that this is a blocker. Especially, because the pixel difference is so small that the screenshot tests pass.

URL of deployed dev instance (used for testing):

Todo:

  • clarify what cross sections are and check whether they work? (see cube.ts)

Steps to test:

  • test on iPad (I already did this via browserstack and the rendering seems to work)
  • run nightly screenshot test against this branch
    Also, try to test wk rather broad regarding rendering, but the following were changed during this PR which is why they should be tested with extra care:
  • crosshair
    • in ortho
    • in flight mode
  • mesh smoothing / computeVertexNormals
  • Quaternion usage in 3D viewport / use the rotate buttons
  • rendering of "cubes"

Issues:


(Please delete unneeded items, merge only when none are left open)

…cient now since size cannot be altered later anymore)
@philippotto
Copy link
Member Author

@daniel-wer I think, the PR is ready for a second look. I fixed all the issues that are relevant to this PR and the screenshot tests should be good now, too. I'll probably have our team do some additional testing, too, to get a good coverage of different systems (hardware, OS, browser etc).

Copy link
Member

@daniel-wer daniel-wer left a comment

Choose a reason for hiding this comment

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

Nice fixes, everything:tm: working as intended now :+1:

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
set -Eeuo pipefail

if [ "${CIRCLE_BRANCH}" == "master" ]; then
# if [ "${CIRCLE_BRANCH}" == "master" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

Reminder to re-enable this before merging

frontend/javascripts/oxalis/geometries/cube.ts Outdated Show resolved Hide resolved
@philippotto philippotto enabled auto-merge (squash) August 4, 2022 07:30
@philippotto philippotto merged commit 5d85b9f into master Aug 4, 2022
@philippotto philippotto deleted the webgl2 branch August 4, 2022 07:56
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.

Consider using WebGL 2
2 participants