简体   繁体   中英

Rendering the object in ARCore environment without the help of Sceneform

We can easily render object in ARCore with the help of Sceneform with just few lines of code. But I have to do it without Sceneform.

Does anyone know how to do it?

The challenges are making the object renderable, placing anchors and anchor nodes in the AR scene. I guess there is some method in OpenGL to do this but I am not sure about it.

Sceneform is not only an ARCore's companion, it's also its rendering engine that helps us read in a scene geometry and calculate light physics for all PBR shaders.

If you wanna implement another rendering engine, make sure it's able to load all polygonal models into AR scene with readable shaders and textures. It's not easy to implement a rendering engine from scratch. ARCore doesn't render any geometry. ARCore's purpose is to track a surrounding environment, implement Environmental Understanding principles, estimate a level of light in real-world room and then put there stable anchors for models.

However Sceneform is deprecated .

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