Open potatoengineer opened 3 years ago
@potatoengineer: Any updates? I have the same problem :(
@saeedtkh or @potatoengineer I was able to reproduce what you are seeing. I've created a repo in my diagnosing app found here
The Statue of Liberty shows the issue in this image. It seems to be missing the textures
I've got a hunch as to why this isn't working.
In my starter kit, I have a LibertyStatue.obj file. There is a material referenced in this file:
I think that the material is being resolved to my local computer with whatever is resolving the material (something in virocore) and not the asset LibertyStatue_TEST.mtl. This would mean when I run on my device, the .obj parser which resolves mtl files is trying to find a file at the wrong location
I've not included this resource in my 'resources' array, and changing the string in the obj file causes a different error.
Resource mtl not used:
error with original file name:
change in .obj file
error with new file name:
I'm Also Still Facing the issue to Load .obj File in React Native Project
Requirements:
Please go through this checklist before opening a new issue
Environment
Please provide the following information about your environment:
Description
Using a fresh clone of the
starter-kit
repo to try to render my 3D object but all I'm seeing is the "Hello World". I have tried addingViroAmbientLight
as per docs and I'm using theresources
prop to require all my files.This is my code:
Anyone know what's wrong and/or how to fix this issue?