Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using android-3D-model-viewer as library #237

Closed
alvinfong06 opened this issue Jul 4, 2023 · 1 comment
Closed

Using android-3D-model-viewer as library #237

alvinfong06 opened this issue Jul 4, 2023 · 1 comment
Labels

Comments

@alvinfong06
Copy link

Hi, I'm currently developing a photogrammetry application where you take 2D images and turn them into 3D mesh models in STL formats. If I were to use this as a library for my application in Android Studio, how do I proceed? I currently have my 3D mesh model in STL files and trying to visualize it using this library in Android Studio.

@andresoviedo
Copy link
Member

Hi @alvinfong06 . You have 2 modules (app + engine).
So you can build your own Viewer using the engine as you want.
I think the viewer code has all you need in order to import your own STL models.

This piece of code launches a ModelFragment using an URI an input
You can make that URI point to your either http public url, android asset or android content manager link.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants