There are many libraries to load a 3D model inside an activity. I'm trying to load a 3D model on a live camera. but I don't find anything to do this.
one the popular library is Rajawali:
https://github.com/Rajawali/Rajawali
but I don't know is it possible to load a 3D model on live camera or not.
I used google's ARCore but I think I should be waiting to release second version.
my questions are:
- Is it possible to load a 3D model on live camera?
- how to load a 3D model on live camera with
Rajawalilibrary.
My solution was to place an
org.rajawali3d.SurfaceViewwith transparent background over anandroid.view.TextureViewthat displays the hardware camera:main_activity.xml
And here is MainActivity.java