NOTE: this is outdated
For new example please refer to RNExpoThree
This is an example of 3D rendering using
- React Native
- expo-three
- three.js
- react-native-unimodules
- Packages included:
"react": "17.0.1",
"react-native": "0.64.2",
"base64-arraybuffer": "^1.0.1",
"expo-gl": "^10.4.2",
"expo-gl-cpp": "^10.4.1",
"expo-three": "^5.7.0",
"react-native-unimodules": "^0.14.6",
"three": "^0.131.2"
git clone https://github.com/kyaroru/RNExpoThreeOld
cd RNExpoThreeOld
yarn install
cd ios && pod install // for ios
npx react-native run-ios
or
npx react-native run-android
Have fun!