简体   繁体   中英

How to load .obj file from URL at runtime for android sceneform sdk

I have a lot of .obj file and .mtl files stored remotely.

Now, i wish to load those files in the sceneform sdk at runtime because the files are dynamically generated and i can't possibly load millions of them all bundled with the app.

Is it possible to do that? Can the models loaded be then feed into the augmented face functionality?

我最终使用工具https://github.com/AnalyticalGraphicsInc/obj2gltf将其转换为服务器上的 glb,然后通过 RenderableSource.Builder() 加载 glb 资产

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM