How to change option object AndAR Model Viewer

1.2k Views Asked by At

how to change object option from AndAR Model Viewer

example in the picture below

picture

Help me, please

1

There are 1 best solutions below

2
On

I think some parts of the code are missing on Google code but I am not sure. However, I checked this project on github which was cloned from the project you referred. The part that you're looking for is in ModelViewer.java. It looks like the class loads all .obj files in the assets folder. (You can take a look at line 219)

if(modelFileName.endsWith(".obj")) {...

So the easiest way to change the option is to put your model in the assets folder and remove ones that you don't want. You can start from there. Hope this helps.