viro icon indicating copy to clipboard operation
viro copied to clipboard

Couldn't load Viro3DObject resources from remote location

Open sanoopks opened this issue 3 years ago • 3 comments

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: Android 10 or iOS 15 is your device running on?
  3. Version: ViroReact 2.21.1 and React Native 0.66.4
  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} />

sanoopks avatar Mar 30 '22 07:03 sanoopks

@doranteseduardo is this something we currently support? or is this a new feature?

robertjcolley avatar Apr 15 '22 12:04 robertjcolley

Is there any update regarding loading the OBJ file from the remote URL?

Muhammad-Usama-lab avatar Oct 24 '22 06:10 Muhammad-Usama-lab

Any response for this? I am also trying to load a model which works fine but the resources are not being applied.

andre-sonect avatar Oct 05 '23 13:10 andre-sonect