Open lichmac opened 9 months ago
I same issue. some one fix this pls T_T
Thank you for contributing! Weβre marking this issue as stale as a gentle reminder to revisit it and give it the attention it needs to move forward.
Any activity, like adding an update or comment, will automatically remove the stale label so it stays on our radar.
Feel free to reach out on Discord if you need support or feedback from the community. This issue will close automatically soon if thereβs no further activity. Thank you for understanding and for being part of the project!
Hi team, I'm working on my react-native project. I'm using this lib to show 3D models. It's working fine. But I got some errors & warnings in the logs. Pls advise. Thanks team
LOG EXGL: gl.pixelStorei() doesn't support this parameter yet! LOG EXGL: gl.pixelStorei() doesn't support this parameter yet! WARN THREE.WebGLRenderer: EXT_color_buffer_float extension not supported.
`import React, { Suspense } from "react"; import { SafeAreaView, StyleSheet, View } from "react-native";
import { Canvas } from "@react-three/fiber/native"; import { useGLTF } from "@react-three/drei/native"; import useControls from "r3f-native-orbitcontrols";
import modelPath from "./src/assets/models/test.glb";
function Model(props) { const gltf = useGLTF(modelPath); return <primitive {...props} object={gltf.scene} scale={2}/>; }
function App(): React.JSX.Element { const [OrbitControls, events] = useControls(); return ( <SafeAreaView style={styles.container} {...events}>
); }
const styles = StyleSheet.create({ container: { flex: 1 }, avatarView: { flex: 1 } });
export default App;`
βββ @babel/core@7.23.7 βββ @babel/preset-env@7.23.8 βββ @babel/runtime@7.23.8 βββ @react-native/babel-preset@0.73.19 βββ @react-native/eslint-config@0.73.2 βββ @react-native/metro-config@0.73.3 βββ @react-native/typescript-config@0.73.1 βββ @react-three/drei@9.94.1 βββ @react-three/fiber@8.15.14 βββ @types/react-test-renderer@18.0.7 βββ @types/react@18.2.48 βββ babel-jest@29.7.0 βββ eslint@8.56.0 βββ expo-gl@13.6.0 βββ expo@50.0.0-preview.11 βββ jest@29.7.0 βββ prettier@2.8.8 βββ r3f-native-orbitcontrols@1.0.9 βββ react-native-track-player@4.0.1 βββ react-native@0.73.2 βββ react-test-renderer@18.2.0 βββ react@18.2.0 βββ three@0.160.0 βββ typescript@5.0.4
`System: OS: macOS 13.0.1 CPU: (8) arm64 Apple M2 Memory: 436.75 MB / 16.00 GB Shell: version: 5.8.1 path: /bin/zsh Binaries: Node: version: 18.17.0 path: ~/.nvm/versions/node/v18.17.0/bin/node Yarn: version: 1.22.21 path: ~/.nvm/versions/node/v18.17.0/bin/yarn npm: version: 9.6.7 path: ~/.nvm/versions/node/v18.17.0/bin/npm Watchman: version: 2023.10.30.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: