Please provide the following information about your environment:
VRT3DObject resources source doesn't work with file system path like below:
<Viro3DObject
type="OBJ"
source={{
uri:"/var/mobile/Containers/Data/Application/C544EBCA-4173-4693-91C3-5AEC8519785B/Documents/models/5d5e5075dc0c6d00bae8d140/object.obj"
}}
resources={[
{uri:"/var/mobile/Containers/Data/Application/C544EBCA-4173-4693-91C3-5AEC8519785B/Documents/models/5d5e5075dc0c6d00bae8d140/material.mtl" },
{url: "/var/mobile/Containers/Data/Application/C544EBCA-4173-4693-91C3-5AEC8519785B/Documents/models/5d5e5075dc0c6d00bae8d140/texture.jpg"}
]}
Object works okay, It renders the physical object but it's white, without textures.
Also, opaque types works perfectly. require('assets/material.mtl')
It may be related to; https://github.com/viromedia/viro/issues/488 https://github.com/viromedia/viro/issues/11
Well, false alarm. File system path as source is working.
It was related to .mtl file name in .obj file 馃槄
Most helpful comment
Well, false alarm. File system path as source is working.
It was related to .mtl file name in .obj file 馃槄