Comments (5)
I think this might be an android bug, will test and get back to you.
from expo-three.
@EvanBacon Just tried it out on iOS. Same thing.
from expo-three.
Canvas isn't supported in React Native, we have someone actively working on it. Basically this is taking an image and making it power of two using canvas. As for the actual error, I wrote a lib called @expo/browser-polyfill which should fix it, I'll try to implement it soon <3
from expo-three.
I tried using your polyfill a couple of days ago, but from what I recall it was missing ImageBitmap
.
from expo-three.
I fixed this in @expo/browser-polyfill
should work for you now
from expo-three.
Related Issues (20)
- Cannot use TextureLoader Expo SDK 45. HOT 1
- Can't load GLTF model because readasarraybuffer is not implemented HOT 1
- Obj, mtl File Could be not read HOT 1
- Broken Examples HOT 1
- create-react-native-app with R3F has mismatched dependencies HOT 1
- iOS white screen - expo-three setup HOT 1
- Unable to render .glb/.gltf files on mobile HOT 3
- WARNING: Multiple instances of Three.js being imported HOT 5
- Eas android black screen
- Possible Unhandled Promise Rejection (id: 0): ReferenceError: Can't find variable: BoxBufferGeometry
- @kyaroru Thank you for your example. Update Example
- Please update to expo 47 HOT 4
- Can't find variable: HTMLElement HOT 1
- Ignore `gl.pixelStorei` warning HOT 2
- iOS support for morph targets
- AVIF and WEBP texture support
- GLB/GLTF
- texture based on file:// url won't load HOT 3
- How to upgrade expo-three to use the latest version of three.js HOT 1
- Has this library been discontinued? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo-three.