Fakhrul
Fakhrul

Reputation: 1

How to change option object AndAR Model Viewer

how to change object option from AndAR Model Viewer

example in the picture below

picture

Help me, please

Upvotes: 0

Views: 1288

Answers (1)

pt2121
pt2121

Reputation: 11870

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.

Upvotes: 0

Related Questions