Load custom OBJ model through over the internet in Android

+1 vote
asked Mar 30, 2018 by lalitp (140 points)

Hi,

Is there an example code to load an custom OBJ model when recognizing an ImageTarget over the internet in Android?

I want to change the default cube into custom model.

Thanks in advance!!

1 Answer

–2 votes
answered Mar 31, 2018 by albert52 (31,850 points)
Of course, the EasyAR sample(HelloAR) loads the custom cube.
commented Mar 31, 2018 by albert52 (31,850 points)
The above is through the local loading model. If you want to load the model through the CRS, you need to upload the model to the server, and then save the path in the meta file.
commented Mar 31, 2018 by lalitp (140 points)
Thanks for your reply.

Basically we would like to load our own .obj/.mtl files (custom 3D model) on to the target. Currently HelloVR creates this cube via programming. What function we need to use so that we can render/load our own models (later on we can grab theses from server as needed) to image target?
commented Apr 3, 2018 by albert52 (31,850 points)
You need to have the knowledge of OpenGL.

You need to use OpenGL to render the model.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...