rastapasta/react-native-gl-model-view

Add example for loading .obj online

Closed this issue · 1 comments

I used the RuntimeAssets.js to load file OBJ and texture from online but it didn't work. It only work with model file like the demon model. Please help me

I figured it out. My obj return the "text/plain" format so it can't load. The solution is replace "application/octet-stream" to "text/plain" and "geometry/model" to "geometry/obj"