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 To THREE 0.162.0, upgrade to Expo SDK 50 #301

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

markrickert
Copy link

This PR is the culmination of a few weeks of work and experimentation around the expo-three and three.js ecosystems. @Jpoliachik and I were able to get many more examples running in the example app and lots of upgrades to bring this library back into line with the latest expo standards and SDK.

Here are the updates in no particular order:

  1. The example app is set up to use the source code of expo-three instead of the build directory, making developing on the example app much easier without the build service running.
  2. Updated example app to Expo SDK 50 and added section in readme for how to run the example app.
  3. Updated expo-three to use the latest expo-module-scripts
  4. Updated to the latest version of THREE (0.162.0) and fixed incompatibilities and deprecations in the examples. There was a global lighting system update in r155 so some work had to be done to get the lighting system to get the examples working again.
  5. Added a rudimentary stats panel to the example
  6. Fixed the rudimentary file extension matching (it was just looking at the end of the url) with a more robust url matcher that takes parameters in the url into account. With tests.
  7. Added orbit controls demo with expo-three-orbit-controls (had to patch because it still relies on an old version of THREE).

The example app works on android and web, but I haven't tested on iOS because the simulator doesn't support web-gl.

iOS Android Web
🤷‍♂️

All tests pass (including the new ones!)

Please let me know what else needs to be done to get this merged!

This PR will Close: #164, #199, #212, #238, #270, #287, #297, #298, & #299

Thanks to @Jpoliachik for his help in getting this branch working and for porting over some THREE web examples over from the web examples.

@andrija29
Copy link

Great work guys! Let's get this merged please @keith-kurak

@joekendal
Copy link

thanks

@adavidson21
Copy link

This is great stuff! Would love to see it merged.

@sebastian-nowak
Copy link

Any updates on this? This really needs to be merged, expo-three is too far behind the current three version

@Benmidi
Copy link

Benmidi commented May 28, 2024

Ooof, I really need this too.

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.

[Expo Three] Snacks / builds are broken?
7 participants