You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to load a single model directly from REPO_URL, which is in obj format along with texture files.
It works fine the default way, by setting the REPO_URL in MenuActivity, LoadModel->Repository->Select the one from chooser dialog.
I want to avoid the "Chooser Dialog" which lists the name of fetched files having "obj|stl|dae|index" extension and directly load the model.
If I bypass the chooser, and try to launch it directly by calling launchModelRendererActivity(Uri.parse(files.get(0))); , I get the model without any texture.
Kindly help me with this.
The text was updated successfully, but these errors were encountered:
Hello buddy
That is the correct method for loading the model.
But you need to provide the material or texture files into the ContentUtils component beforehand.
Please check the API of ContentUtils in order to preload those files. Please mind that you may probably need to set the Android Context as well into this ContentUtils component.
Regards
Hi,
I want to load a single model directly from REPO_URL, which is in obj format along with texture files.
It works fine the default way, by setting the REPO_URL in MenuActivity, LoadModel->Repository->Select the one from chooser dialog.
I want to avoid the "Chooser Dialog" which lists the name of fetched files having "obj|stl|dae|index" extension and directly load the model.
If I bypass the chooser, and try to launch it directly by calling
launchModelRendererActivity(Uri.parse(files.get(0)));
, I get the model without any texture.Kindly help me with this.
The text was updated successfully, but these errors were encountered: