viro
viro copied to clipboard
Couldn't load Viro3DObject resources from remote location
- [ ] Review the documentation
- [ ] Search for existing issues in: viromedia/viro & ViroCommunity/viro
- [ ] Use the latest ViroReact release
Environment
Please provide the following information about your environment:
- Development OS: Mac
- Device OS & Version: Android 10 or iOS 15 is your device running on?
- Version: ViroReact 2.21.1 and React Native 0.66.4
- Device(s): Moto One Fusion Plus
Description
I am trying to load a 3D object from the remote server. The 3D object is loading well but not the resources, the MTL file is not loading. It is working well with local files.
Reproducible Demo
<Viro3DObject source={{ uri: 'https://url of the object' }} resources={[ { uri: 'https://url of the mtl file' } ]} position={[0, 0, -1]} type="OBJ" ref={objectRef} />
@doranteseduardo is this something we currently support? or is this a new feature?
Is there any update regarding loading the OBJ file from the remote URL?
Any response for this? I am also trying to load a model which works fine but the resources are not being applied.