GLB Model Not Displaying on Screen
koolll opened this issue · 0 comments
koolll commented
Environment
Please provide the following information about your environment:
- Development OS: Mac
- Device OS & Version: Android 11
- Version: ViroReact version(2.23.0) and React Native version (0.70.6)
- Device(s): Samsung galaxy a31
Description
I have created a sample GLB model, but it does not show anything model on the screen. Can anyone give some guidance on how to solve this problem? This is the GLB download model link.
https://www.dropbox.com/scl/fi/au1o5cjr7iq8dwefkz25j/model.glb?rlkey=rfhgmjgb25i2dbhe60p4k720y&dl=1
Thanks
Reproducible Demo
Sample code
<ViroARScene onTrackingUpdated={onTrackingUpdated}> <ViroAmbientLight color="#ffffff" intensity={200} /> <Viro3DObject source={require('../../../viroRes/test/model1.glb')} type="GLB" scale={[1, 1, 1]} position={[0, 0, -1]} onError={onError} /> </ViroARScene>